[luatex] Changing catcodes in \directlua

Paul Isambert zappathustra at free.fr
Tue Jul 6 11:33:57 CEST 2010


> The space is first gobbled, then another space is generated when TeX converts
> the unexpanded '\alpha' token to a string of characters. If you don't want any
> space, you can use \string\alpha.
>
> This is exactly the same as \write and other TeX82 primitives. Try
>
> \write20{|\noexpand\alpha|\string\alpha|}
>
> and look at the terminal (or log).
>   


Indeed, the good ol' trailing space. I forget it more often than not.
Paul



More information about the luatex mailing list