summaryrefslogtreecommitdiff
path: root/tex/context/base/xtag-ini.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/xtag-ini.tex')
-rw-r--r--tex/context/base/xtag-ini.tex15
1 files changed, 11 insertions, 4 deletions
diff --git a/tex/context/base/xtag-ini.tex b/tex/context/base/xtag-ini.tex
index a3a83a918..7ba173050 100644
--- a/tex/context/base/xtag-ini.tex
+++ b/tex/context/base/xtag-ini.tex
@@ -228,8 +228,13 @@
%D a way around this, but for convenience \TEXEXEC\ will take
%D care of processing raw \XML\ files in a transparant way.
-\chardef\XMLtokensreduction\zerocount % cmr as default
-\chardef\XMLtokensreduction\plustwo % lmr as default
+% cmr -- best for tui and such
+%
+% \chardef\XMLtokensreduction\zerocount
+%
+% lmr -- best but problematic for tui file:
+
+\chardef\XMLtokensreduction\plustwo
% \def\alwaysreduceXMLtokens {\XMLtokensreduction\plusone}
% \def\permanentreduceXMLtokens{\XMLtokensreduction\plustwo}
@@ -277,14 +282,16 @@
.catcode`.?=.@@other
.catcode`.:=.@@other * active in french
.catcode`.;=.@@other * active in french
- .catcode`.&=.@@active .let&=.doXMLentity
- .catcode`.<=.@@active .unexpanded.def<B.doXMLelementE
+ .catcode`.&=.@@active
+ .catcode`.<=.@@active
.catcode`.>=.@@other
.catcode`."=.@@other
.catcode`./=.@@other
.catcode`.'=.@@other
.catcode`.~=.@@other
.catcode`.#=.@@other
+ .let &=.doXMLentity
+ .unexpanded.def<B.doXMLelementE*
.ifcase.XMLtokensreduction
.entitleXMLescapetokens
.or