Just between \starttext..\stoptext the code \directlua{tex.print("{\it abc}")} works as expected and I get an italic abc.

However, between \startxmlsetups..\stopxmlsetups this is different. Here
the result is: {endgraf ignorespaces it abc}
And leaving out one backslash before the it: {it abc}

I suspect some catcode trickery here. But can this be solved easily? Or do I need to program calling of some explicite Lua-function for this?

Hans van der Meer




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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