summaryrefslogtreecommitdiff
path: root/tex/context/modules/mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/modules/mkxl')
-rw-r--r--tex/context/modules/mkxl/m-crappyspec.mkxl6
-rw-r--r--tex/context/modules/mkxl/m-oldmath.mkxl6
-rw-r--r--tex/context/modules/mkxl/s-colors-show.mkxl4
-rw-r--r--tex/context/modules/mkxl/s-fonts-show.mkxl4
-rw-r--r--tex/context/modules/mkxl/x-mathml.mkxl22
5 files changed, 21 insertions, 21 deletions
diff --git a/tex/context/modules/mkxl/m-crappyspec.mkxl b/tex/context/modules/mkxl/m-crappyspec.mkxl
index 483141141..0dd7903b9 100644
--- a/tex/context/modules/mkxl/m-crappyspec.mkxl
+++ b/tex/context/modules/mkxl/m-crappyspec.mkxl
@@ -128,9 +128,9 @@ function builders.paragraphs.constructors.methods.crappyspec(head)
end
\stopluacode
-\newcount\crappyspeccount
-\newdimen\crappyspecstep \crappyspecstep \onepoint
-\newdimen\crappyspecdimen
+\newinteger \crappyspeccount
+\newdimension\crappyspecstep \crappyspecstep \onepoint
+\newdimension\crappyspecdimen
\defineparbuilder [crappyspec] % implemented in the builder namespace
\defineparbuilder [default] % implemented in the builder namespace
diff --git a/tex/context/modules/mkxl/m-oldmath.mkxl b/tex/context/modules/mkxl/m-oldmath.mkxl
index 3594385ff..2132d773e 100644
--- a/tex/context/modules/mkxl/m-oldmath.mkxl
+++ b/tex/context/modules/mkxl/m-oldmath.mkxl
@@ -81,9 +81,9 @@
\baselineskip \the\baselineskip
\lineskiplimit\the\lineskiplimit
\relax}%
- \advance\lineskip \scratchdimen
- \advance\baselineskip \scratchdimen
- \advance\lineskiplimit\scratchdimen}
+ \advanceby\lineskip \scratchdimen
+ \advanceby\baselineskip \scratchdimen
+ \advanceby\lineskiplimit\scratchdimen}
\permanent\protected\def\openup {\math_openup } % the low level ones are used elsewhere
\permanent\protected\def\closeup{\math_closeup} % the low level ones are used elsewhere
diff --git a/tex/context/modules/mkxl/s-colors-show.mkxl b/tex/context/modules/mkxl/s-colors-show.mkxl
index aa0e3227e..3f1692f98 100644
--- a/tex/context/modules/mkxl/s-colors-show.mkxl
+++ b/tex/context/modules/mkxl/s-colors-show.mkxl
@@ -84,7 +84,7 @@
\scratchwidth\wd\scratchbox
\fi}%
\colo_palets_process[#1]\colo_palets_show_palet}%
- \advance\scratchwidth\emwidth
+ \advanceby\scratchwidth\emwidth
\ifdim\scratchwidth<5\emwidth
\scratchwidth5\emwidth
\fi
@@ -219,7 +219,7 @@
\setlocalhsize
\hsize\localhsize
\scratchcounter\zerocount
- \dorecurse{15}{\doifcolor{#2:\recurselevel}{\advance\scratchcounter\plusone}}
+ \dorecurse{15}{\doifcolor{#2:\recurselevel}{\advanceby\scratchcounter\plusone}}
\scratchwidth2\emwidth\relax
\hsize\scratchcounter\scratchwidth
\dorecurse\scratchcounter{\colo_groups_compare_step{#1}{#2}\recurselevel}}}
diff --git a/tex/context/modules/mkxl/s-fonts-show.mkxl b/tex/context/modules/mkxl/s-fonts-show.mkxl
index 42b5af125..32f50c484 100644
--- a/tex/context/modules/mkxl/s-fonts-show.mkxl
+++ b/tex/context/modules/mkxl/s-fonts-show.mkxl
@@ -111,7 +111,7 @@
\orelse\ifnum\scratchcountertwo=\scratchcounterthree
\exitloop
\else
- \advance\scratchcountertwo\plusone
+ \advanceby\scratchcountertwo\plusone
\fi}}}
{\processcommalist[#2]{\module_fonts_show_font_indeed{#1}}}}%
\egroup}
@@ -418,7 +418,7 @@
\protected\gdef\showotfsteps_n
{\blank
\begingroup
- \advance\leftskip6\emwidth
+ \advanceby\leftskip6\emwidth
\showotfstepmessages\recurselevel
\par
\endgroup
diff --git a/tex/context/modules/mkxl/x-mathml.mkxl b/tex/context/modules/mkxl/x-mathml.mkxl
index ea3052d2d..adabf777c 100644
--- a/tex/context/modules/mkxl/x-mathml.mkxl
+++ b/tex/context/modules/mkxl/x-mathml.mkxl
@@ -281,14 +281,14 @@
% simple version
-\newcount\@MMLlevel \def\MMLcreset{\@MMLlevel\zerocount}
+\newinteger\@MMLlevel \def\MMLcreset{\@MMLlevel\zerocount}
\lettonothing\MMLctempresetlist \def\setMMLcreset{\edef\MMLctempresetlist}
\let\MMLdoL\donothing
\let\MMLdoR\donothing
-\newcount\mmlapplydepth \def\MMLcreset{\mmlapplydepth\zerocount}
+\newinteger\mmlapplydepth \def\MMLcreset{\mmlapplydepth\zerocount}
\startxmlsetups mml:apply
\MMLmathinner {
@@ -302,7 +302,7 @@
\def\mmlapplyopentoken {(}
\def\mmlapplyclosetoken{)}
\fi
- \advance\mmlapplydepth\plusone
+ \advanceby\mmlapplydepth\plusone
\begingroup
\ifempty\mmlapplyopentoken
\let\MMLdoL\donothing
@@ -339,7 +339,7 @@
}
% }
\endgroup
- \advance\mmlapplydepth\minusone
+ \advanceby\mmlapplydepth\minusone
}
\stopxmlsetups
@@ -850,10 +850,10 @@
\setupMMLappearance [divide] [\c!level=\!!maxcard,\c!alternative=\v!a]
-\newcount\mmldividelevel
+\newinteger\mmldividelevel
\startxmlsetups mml:divide
- \advance\mmldividelevel\plusone
+ \advanceby\mmldividelevel\plusone
\doifelse \MMLdividealternative \v!b {
\mmlsecond{#1}/\mmlthird{#1}
} {
@@ -864,7 +864,7 @@
\mmlfrac{\MMLcreset\mmlsecond{#1}}{\MMLcreset\mmlthird{#1}}
\fi
}
- \advance\mmldividelevel\minusone
+ \advanceby\mmldividelevel\minusone
\stopxmlsetups
% min max
@@ -894,7 +894,7 @@
% reset check in case of (-x) + 37
% reset check in case of (-x) + 37
-\newcount\mmlpluscounter
+\newinteger\mmlpluscounter
\startxmlsetups mml:plus
\doifelse \MMLsignreduction \v!yes {
@@ -918,7 +918,7 @@
\stopxmlsetups
\startxmlsetups mml:plus:body
- \advance\mmlpluscounter\plusone
+ \advanceby\mmlpluscounter\plusone
\ifnum\mmlpluscounter>\plusone
\xmldoifelse{#1}{/mml:minus} {
\ifnum\xmlcount{#1}{/!mml:minus}>\plusone
@@ -935,7 +935,7 @@
\xmldirect{#1}
\stopxmlsetups
-\newcount\mmlminuscounter
+\newinteger\mmlminuscounter
\startsetups mml:minus
\doifelse \MMLsignreduction \v!yes {
@@ -965,7 +965,7 @@
\startxmlsetups mml:minus:body
% we can also use concat here
- \advance\mmlminuscounter\plusone
+ \advanceby\mmlminuscounter\plusone
\ifnum\mmlminuscounter>\plusone
-
\fi