summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/enco-mis.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/enco-mis.tex')
-rw-r--r--Master/texmf-dist/tex/context/base/enco-mis.tex14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/context/base/enco-mis.tex b/Master/texmf-dist/tex/context/base/enco-mis.tex
index b089fe5695a..d3e5b7883cd 100644
--- a/Master/texmf-dist/tex/context/base/enco-mis.tex
+++ b/Master/texmf-dist/tex/context/base/enco-mis.tex
@@ -143,18 +143,18 @@
% perthings
-\def\fakeperthousand
- {\mathematics{^{\scriptscriptstyle0}\kern-.25em/\kern-.2em_{\scriptscriptstyle00}}}
-
\def\fakepercent
{\mathematics{^{\scriptscriptstyle0}\kern-.25em/\kern-.2em_{\scriptscriptstyle0}}}
+\def\fakeperthousand
+ {\mathematics{^{\scriptscriptstyle0}\kern-.25em/\kern-.2em_{\scriptscriptstyle00}}}
+
\def\fakepermine
{\dontleavehmode
\bgroup
- \setbox0\hbox
+ \setbox\scratchbox\hbox
{\mathematics{+}}%
- \hbox to \wd0
+ \hbox to \wd\scratchbox
{\hss
\mathematics{^{\scriptscriptstyle-}\kern-.4em/\kern-.3em_{\scriptscriptstyle-}}%
\hss}%
@@ -214,7 +214,9 @@
\ifx\mathunderscore\undefined \let\mathunderscore\fakeunderscore \fi
\ifx\textunderscore\undefined \let\textunderscore\fakeunderscore \fi
-\def\_{\ifmmode\mathunderscore\else\textunderscore\fi}
+\unexpanded\def\normalunderscore{\ifmmode\mathunderscore\else\textunderscore\fi}
+
+\let\_\normalunderscore
% Handy but obsolete, replaced by \unknownchar:
%