Wolfgang Schuster wrote:
Hi,
LuaTeX hangs in the following example, it is related to the optional argument for \startTEST.
unrelated to luatex ... processbetween takes args one by one \def\dostartTEST[#1]% {\bgroup \processaction [#1] [bold=>\bf, italic=>\it, unknown=>\tf]} \def\dostopTEST {\egroup} \def\defineTEST[#1]% {\setvalue{start#1}{\dosingleempty\dostartTEST}% \setvalue{stop#1}{\dostopTEST}} \defineTEST[MYTEST] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------