summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/lxml-ini.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/lxml-ini.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/lxml-ini.mkiv15
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/lxml-ini.mkiv b/Master/texmf-dist/tex/context/base/mkiv/lxml-ini.mkiv
index 5cb4bb22d65..09358e11cba 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/lxml-ini.mkiv
+++ b/Master/texmf-dist/tex/context/base/mkiv/lxml-ini.mkiv
@@ -38,9 +38,14 @@
\def\xmlconcat #1#2#3{\clf_xmlconcat {#1}{#2}{\detokenize{#3}}}
\def\xmlconcatrange #1#2#3#4#5{\clf_xmlconcatrange{#1}{#2}{#3}{#4}{\detokenize{#5}}}
-\def\xmlload #1#2{\clf_xmlload {#1}{#2}{\directxmlparameter\c!compress}}
-\def\xmlloadbuffer #1#2{\clf_xmlloadbuffer {#1}{#2}{\directxmlparameter\c!compress}}
-\def\xmlloaddata #1#2{\clf_xmlloaddata {#1}{#2}{\directxmlparameter\c!compress}}
+
+%D Maybe I should add \type {\unexpanded} here:
+
+\def\xmlloadfile #1#2{\clf_xmlloadfile {#1}{#2}{\directxmlparameter\c!compress}}
+\def\xmlloadbuffer#1#2{\clf_xmlloadbuffer{#1}{#2}{\directxmlparameter\c!compress}}
+\def\xmlloaddata #1#2{\clf_xmlloaddata {#1}{#2}{\directxmlparameter\c!compress}}
+
+\let\xmlload\xmlloadfile
% aliased
@@ -317,6 +322,8 @@
\unexpanded\def\startxmldisplayverbatim
{\dosingleempty\lxml_start_display_verbatim}
+\let\stopxmldisplayverbatim\relax
+
\def\lxml_start_display_verbatim[#1]%
{\startpacked
\edef\currenttyping{#1}%
@@ -334,6 +341,8 @@
\unexpanded\def\startxmlinlineverbatim
{\dosingleempty\lxml_start_inline_verbatim}
+\let\stopxmlinlineverbatim\relax
+
\unexpanded\def\lxml_start_inline_verbatim[#1]%
{\begingroup
\edef\currenttype{#1}%