diff options
Diffstat (limited to 'tex/context/base/meta-xml.tex')
-rw-r--r-- | tex/context/base/meta-xml.tex | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/tex/context/base/meta-xml.tex b/tex/context/base/meta-xml.tex index 2138111f8..5024165d7 100644 --- a/tex/context/base/meta-xml.tex +++ b/tex/context/base/meta-xml.tex @@ -1,29 +1,30 @@ %D \module %D [ file=meta-xml, %D version=2002.11.27, -%D title=\METAPOST\ Graphics, -%D subtitle=XML Hacks, +%D title=\METAPOST\ Graphics, +%D subtitle=XML Hacks, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA / Hans Hagen \& Ton Otten}] %C %C This module is part of the \CONTEXT\ macro||package and is -%C therefore copyrighted by \PRAGMA. See mreadme.pdf for -%C details. +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. \writestatus{loading}{MetaPost Graphics / XML Hacks} %D When we are dealing with XML, we need to make sure that %D \METAPOST\ knows about it. The next macro expands its %D argument (think of widget XFDF) into \type {\getXMLentity} -%D calls. +%D calls. -\unprotect +\unprotect \def\setMPtextXML#1#2% {\bgroup - \enableXML + \enableXML \expanded{\convertcommand#2}\to\ascii - \expanded{\egroup\noexpand\dodoglobal\noexpand\setvalue{\@@MPT#1}{\ascii}}} + \expanded{\egroup + \noexpand\dodoglobal\noexpand\setvalue{\@@MPT#1}{\ascii}}} -\protect \endinput +\protect \endinput |