On Sun, Feb 09, 2003 at 09:26:27PM +0100, Hans Hagen wrote:
At 09:52 PM 2/8/2003 +0100, Simon Pepping wrote:
ah, the umlauts ...
even if it would work out ok, it looks to ugly, so how about:
\def\somethingsimon{blabla}
\bTABLE \bTR\safeexpanded{\bTD\Aumlaut}\eTD\eTR \bTR\safeexpanded{\bTD\noexpand\somethingsimon\Aumlaut}\eTD\eTR \eTABLE
with in enco-ini:
\appendtoks \keepencodedtokens \to \everysafeexpanded
and in syst-gen:
\newtoks\everysafeexpanded
\long\def\safeexpanded#1% {\begingroup \the\everysafeexpanded\long\xdef\@@expanded{\noexpand#1}% \endgroup \@@expanded}
A more contexy alternative -)
This works fine, provided \keepencodedtokens exists, which is only in more recent context versions. Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl