summaryrefslogtreecommitdiff
path: root/tex/context/base/supp-num.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2006-11-16 12:02:00 +0100
committerHans Hagen <pragma@wxs.nl>2006-11-16 12:02:00 +0100
commit2129e59b313d0a032b7b6eb3dab287dd32437ef9 (patch)
tree23b8818581484b897723bf6fb42a12a1b660afb6 /tex/context/base/supp-num.tex
parentf9c73d27ce69d59cfaeb543664e69c620642a0dc (diff)
downloadcontext-2129e59b313d0a032b7b6eb3dab287dd32437ef9.tar.gz
stable 2006.11.16 12:02
Diffstat (limited to 'tex/context/base/supp-num.tex')
-rw-r--r--tex/context/base/supp-num.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/supp-num.tex b/tex/context/base/supp-num.tex
index a5a9114c1..73b28e3de 100644
--- a/tex/context/base/supp-num.tex
+++ b/tex/context/base/supp-num.tex
@@ -93,6 +93,8 @@
%D the grouped call, the other branch handles the fuzzy
%D delimited calls.
+\ifx\mbox\undefined \let\mbox\normalhbox \fi
+
% \unexpanded\def\digits
% {\bgroup\let~@\doifnextcharelse\bgroup\dodigits\grabdigit}
@@ -219,7 +221,7 @@
%D The signs can be made smaller and sqeezed into the width
-%D of a digit. Watch the \type {\fontdimen22} trickery (this
+%D of a digit. Watch the \type {\mathaxisheight} trickery (this
%D font related register stored the math axis).
% \def\scandigits#1%
@@ -304,9 +306,9 @@
{\ifcase\digitsignmode#1\else
\hbox
{\setbox\scratchbox\hbox{0}%
- \scratchdimen\fontdimen22\textfont2
+ \scratchdimen\mathaxisheight\textfont2
\def\digitsgn##1##2%
- {\advance\scratchdimen-\fontdimen22##12
+ {\advance\scratchdimen-\mathaxisheight##12
\raise\scratchdimen
\hbox to \wd\scratchbox{\hss$##2#1$\hss}}%
\ifcase\digitsignmode\or