[luatex] behavior of \write in LuaTeX differs from the one of PdfTeX/XeTeX

jfbu jfbu at free.fr
Thu Mar 26 21:50:58 CET 2015


sorry about the superfluous \the below


Le 26 mars 2015 à 21:40, jfbu <jfbu at free.fr> a écrit :

> \catcode 17 = 12
> \mathcode17=\the\mathcode`A
              ^^^
> 
> \begingroup
>    \endlinechar=17
>    \global\toks0{$
>                  =A$}%
> \endgroup %
> 
> \scantokens\expandafter{\the\toks0\relax}
> 
> \newlinechar = 17 % PROBLEM WITH LUATEX, NOT WITH ETEX/PDFTEX/XETEX
> \scantokens\expandafter{\the\toks0\relax}
> 
> \bye




More information about the luatex mailing list