Am 16.03.10 10:58, schrieb Philipp Gesang:
On 2010-03-16<00:33:12>, Wolfgang Schuster wrote:
Am 16.03.10 00:20, schrieb Philipp Gesang:
\def\startsomething{% \bgroup% \dosingleempty\dostartsomething }
\unexpanded\def\startsomething{...}
\let\stopsomething\relax
Thanks, but that didn't work either.
Then something is wrong in your test file because i tested the above myself and it worked, to get your own module working replace your translate macros with this: \def\dotransliterate[#1]#2{% \bgroup \iffirstargument \getparameters[TRL][#1]% \fi \language[\TRLhyphenate]% \ctxlua{translit.transliterate("\TRLmode","\luaescapestring{#2}")}% \egroup } \unexpanded\def\transliterate{\dosingleempty\dotransliterate} \unexpanded\def\starttransliterate{% \bgroup% \dosingleempty\dostarttransliterate } \let\stoptransliterate\relax \def\dostarttransliterate[#1]#2\stoptransliterate{% \iffirstargument \setuptransliterate[#1]% \fi \language[\TRLhyphenate]% \ctxlua{translit.transliterate("\TRLmode","\luaescapestring{#2}")}% \egroup } Test: \setupinteraction[state=start] \usemodule[transliterator] \starttext Words before a footnote\footnote{ \transliterate[]{раз, два, три} } Words before a footnote\startfootnote \starttransliterate[]раз, два, три\stoptransliterate \stopfootnote \stoptext Wolfgang