summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/m-scite.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/m-scite.mkiv')
-rw-r--r--Master/texmf-dist/tex/context/base/m-scite.mkiv6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/m-scite.mkiv b/Master/texmf-dist/tex/context/base/m-scite.mkiv
index aed2c26315d..7a8e8b06e6f 100644
--- a/Master/texmf-dist/tex/context/base/m-scite.mkiv
+++ b/Master/texmf-dist/tex/context/base/m-scite.mkiv
@@ -66,6 +66,8 @@ local f_mapping = [[
\let\string\slxR\string\letterrightbrace
\let\string\slxM\string\letterdollar
\let\string\slxV\string\letterbar
+\let\string\slxU\string\letterhat
+\let\string\slxD\string\letterunderscore
\let\string\slxH\string\letterhash
\let\string\slxB\string\letterbackslash
\let\string\slxP\string\letterpercent
@@ -76,6 +78,8 @@ local replacer = lpeg.replacer {
["{"] = "\\slxL ",
["}"] = "\\slxR ",
["$"] = "\\slxM ",
+ ["^"] = "\\slxU ",
+ ["_"] = "\\slxD ",
["|"] = "\\slxV ",
["#"] = "\\slxH ",
["\\"] = "\\slxB ",
@@ -195,6 +199,7 @@ end
\installscitecommands
\tt
\dontcomplain
+ \setcatcodetable\ctxcatcodes % needed in xml
\startscite
\getbuffer[lex]%
\stopscite
@@ -213,6 +218,7 @@ end
\installscitecommands
\tt
\dontcomplain
+ \setcatcodetable\ctxcatcodes % needed in xml
\startscite
\getbuffer[lex]%
\stopscite