[luatex] Passing verbatim text to a function

Aditya Mahajan adityam at umich.edu
Mon Sep 27 20:35:56 CEST 2010


On Mon, 27 Sep 2010, Wolfgang Schuster wrote:

>
> Am 27.09.2010 um 00:16 schrieb Sietse Brouwer:
>
>> \def\Dedent#1{ \directlua{ dedent( [[#1]] ) } }
>
> \def\Dedent#1{\ctxlua{dedent(\!!bs\detokenize{#1}\!!es)}}
>
> or
>
> \def\Dedent#1{\ctxlua{dedent(\!!bs\normalunexpanded{#1}\!!es)}}

Sorry for a dumb question, but does \detokenize do and why is it useful 
here?

Aditya



More information about the luatex mailing list