diff options
Diffstat (limited to 'tex/context/base/mkiv/lxml-ini.mkiv')
-rw-r--r-- | tex/context/base/mkiv/lxml-ini.mkiv | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/lxml-ini.mkiv b/tex/context/base/mkiv/lxml-ini.mkiv index 6fa14ddfc..bf641f10b 100644 --- a/tex/context/base/mkiv/lxml-ini.mkiv +++ b/tex/context/base/mkiv/lxml-ini.mkiv @@ -310,6 +310,16 @@ \unexpanded\def\xmlinstalldirective#1#2% {\clf_xmlinstalldirective{#1}{\csstring#2}} +% an example: + +% <?context-tex-directive bgroup ?> + +\appendtoks + \xmlinstalldirective{tex}{xmltexcommand}% +\to \everyjob + +\def\xmltexcommand#1{\begincsname#1\endcsname} + % \def\xmlcontextdirective#1% kind class key value % {\executeifdefined{xml#1directive}\gobblethreearguments} |