[NTG-context] catcode problems (mkiv)

Peter Rolf indiego at gmx.net
Sun Jan 16 22:17:54 CET 2011


Thank you Taco and Hans! \startluacode works fine :-)

Am 16.01.2011 08:41, schrieb Taco Hoekwater:
> On 01/14/2011 05:52 PM, Peter Rolf wrote:
>>
>> What is the best way to
>>
>> 1.   deal with the "%" character in ctxlua?
> 
> Use \startluacode .... \stopluacode  instead of ctxlua.
> 
>> 2.   print significant spaces?
>>
>> My current 'solution' for 2. is writing to a tex buffer instead and then
>> using
>>
>> \bgroup\obeyspaces\getbuffer[textext]\egroup
> 
> Significant spaces are always nasty. You could convert them to "~"
> (of course then it does not break across lines) or "\ ".
> 
> Best wishes,
> Taco
> 



More information about the ntg-context mailing list