Thomas A. Schmitz wrote:
On Mar 16, 2008, at 6:16 PM, Hans Hagen wrote:
indeed ther eis something weird, but it may as well be something in lautex itself, so taco has to look into it too
what happens is:
\def\processXMLfilegrouped#1{{\enableXML\processfile{#1}\relax \ifmmode\else\par\fi}}
it looks like the new catcode regime lags one line behind here
Glad to know it wasn't just me being stupid... So I will continue to try my hand at the new mkiv mechanism.
It is a bug in luatex, but not an easy one to fix. The simplest workaround (for now) is to patch core-job.lua. Best wishes, Taco --- core-job.lua~ 2008-02-13 12:01:06.000000000 +0100 +++ core-job.lua 2008-03-17 14:02:12.000000000 +0100 @@ -64,7 +64,7 @@ function commands.processfile(name,maxreadlevel) name = find_file(name,maxreadlevel) if name ~= "" then - tex.sprint(tex.ctxcatcodes,string.format("\\input %s\\relax",name)) + tex.print(tex.ctxcatcodes,string.format("\\input %s\\relax",name)) end end