diff options
Diffstat (limited to 'tex/context/base/xtag-ini.tex')
-rw-r--r-- | tex/context/base/xtag-ini.tex | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/tex/context/base/xtag-ini.tex b/tex/context/base/xtag-ini.tex index 90b50dc06..ca1fa9a05 100644 --- a/tex/context/base/xtag-ini.tex +++ b/tex/context/base/xtag-ini.tex @@ -16,34 +16,20 @@ %D Beware: don't rely on \longempty things, since this may %D change! -% \newif\ifprocessingXML - -\beginTEX - \writestatus{XML}{sorry, XML is only supported in (pdf)etex} - \def\startXMLdefinitions{\gobbleuntil\stopXMLdefinitions} - \endinput -\endTEX - -% tzt nog eens child grabber maken; mooier in mathml - %D This module is highly optimized for speed, which sometimes %D leads to rather unreadable code. Sorry for this. -\beginETEX XML +\bgroup \obeylines - \bgroup \obeylines +\gdef\startXMLdefinitions% keep % + {\bgroup\obeylines\dostartXMLdefinitions} - \gdef\startXMLdefinitions% keep % - {\bgroup\obeylines\dostartXMLdefinitions} +\gdef\dostartXMLdefinitions #1 + {\egroup\doifsomething{#1}{\writestatus{XML}{loading #1 support}}} - \gdef\dostartXMLdefinitions #1 - {\egroup\doifsomething{#1}{\writestatus{XML}{loading #1 support}}} +\global\let\stopXMLdefinitions\relax - \global\let\stopXMLdefinitions\relax - - \egroup - -\endETEX +\egroup % todo: XMLfullsave == also attributes % csnames |