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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to