[NTG-context] catcode problems (mkiv)

Taco Hoekwater taco at elvenkind.com
Sun Jan 16 08:41:42 CET 2011


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