From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: processing xml in mkiv
Date: Mon, 17 Mar 2008 14:04:26 +0100 [thread overview]
Message-ID: <47DE6C5A.8000701@elvenkind.com> (raw)
In-Reply-To: <1841CE4B-DC45-4A6C-B20F-BBC6B6610267@uni-bonn.de>
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
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-03-17 13:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-16 10:29 Thomas A. Schmitz
2008-03-16 11:04 ` Wolfgang Schuster
2008-03-16 12:00 ` Thomas A. Schmitz
2008-03-16 12:51 ` Wolfgang Schuster
2008-03-16 13:40 ` Thomas A. Schmitz
2008-03-16 13:56 ` Wolfgang Schuster
2008-03-16 17:16 ` Hans Hagen
2008-03-17 6:36 ` Thomas A. Schmitz
2008-03-17 13:04 ` Taco Hoekwater [this message]
2008-03-18 15:59 ` Thomas A. Schmitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47DE6C5A.8000701@elvenkind.com \
--to=taco@elvenkind.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).