[NTG-context] Fwd: Is de string interpretatie van het lua context() commando separaat benaderbaar?

Hans Hagen j.hagen at xs4all.nl
Tue Mar 31 17:15:18 CEST 2020


On 3/31/2020 4:43 PM, Gerben Wierda wrote:
> The lua context() command has a string interpretation, e.g.
> 
> function moduledata.test( astring)
>    local testone = "{Hello}, \"(a)\" [World]!"
>    context( "%!tex!", testone)
> end
> 
> Two questions:
> - Have all the lua commands been documented somewhere e.g. in a 
> reference manual? Especially the basic context() command?

cld manual

> - Is this string+arguments interpreter of context() available 
> separately? I could use this to first let the string interpreter create 
> a TeX-safe string after which I can manipulate the result before 
> offering it to the context() command.
string.formatters


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list