Allthough typesetting through xmlcontext crashed, while direct typesetting did not, the culprit does not seem to be in the different routes. After one day ploughing through \halign and friends, I think I can nail it to a specific \omit in my code. Not that all problems are solved with that find, but it is a start. Anyway, for the moment no reason to panic about \xmlcontext. I hope this will please Hans Hagen, a bit. Hans van der Meer On 5 jan. 2012, at 18:33, Hans van der Meer wrote:
I need to do some ConTeXt work inside an XML-proces. In principle this works for most TeX-code through an appropriate xmlsetup that calls \xmlcontext. However some code has problems, and it will be no surprise that it concerns table suff. The error is:
Misplaced \omit ... \@tbxmultispans #1->\omit \scratchcounter #1\relax \advance \scratchcounter …
As this code runs fine in normal ConTeXt environments, the suspicion is some catcode problem. Can I set inside the \xmlsetup-code something to have \xmlcontext using the correct catcode's, iff that turns out to be the problem of course.
Thanks in advance.
Hans van der Meer
___________________________________________________________________________________ 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 ___________________________________________________________________________________