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} > 0</mathtex>
And here is my ConTeXt environment file (I am using version 2010.05.24
13:05):
\startxmlsetups doc:mathtex
$\xmlflush{#1}$
\stopxmlsetups
\xmlregistersetup{xml:doc}
\startxmlsetups xml:doc
\xmlsetsetup{\xmldocument}{mathtex}{doc:*}
\stopxmlsetups
Any hint?
Thank you,
mk
--
Martin Kolařík
martin.kola...@email.cz
martin.kola...@jabber.cz
+420603535593
___________________________________________________________________________________
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
___________________________________________________________________________________