[NTG-context] MkIV, XML and raw TeX input

Wolfgang Schuster schuster.wolfgang at googlemail.com
Fri May 28 17:38:08 CEST 2010

Am 28.05.10 15:38, schrieb Martin Kolařík:
> Hello,
> I have found a problem when switching from MkII to MkIV -- I am using 
> a XML containing raw TeX (a temporary solution for math, which lasts 
> for four years now) and now, in MkIV, I did not succeed to adopt TeX 
> anyhow. The math is typeset in math style, but obviously characters 
> read from XML have improper catcode set. I tried some tricks with 
> \scantokens, but nothing helped.
> Here is my XML (the element is root):
> <?xml version="1.0" encoding="utf-8"?>
> <mathtex>\int_0^\pi {sin x\over x} &gt; 0</mathtex>
> And here is my ConTeXt environment file (I am using version 2010.05.24 
> 13:05):
> \startxmlsetups doc:mathtex
>   $\xmlflush{#1}$
> \stopxmlsetups

\startxmlsetups doc:mathtex


More information about the ntg-context mailing list