summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/typo-mar.mkxl
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-12-21 18:00:37 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-12-21 18:00:37 +0100
commit36355f3d0c23357fccf2c76b3e9605a41cae519d (patch)
tree7b2bfa701a21ed8b075deba24112583461706770 /tex/context/base/mkxl/typo-mar.mkxl
parent8f472c629a996f1c08281198210354a253d7f56b (diff)
downloadcontext-36355f3d0c23357fccf2c76b3e9605a41cae519d.tar.gz
2022-12-21 17:12:00
Diffstat (limited to 'tex/context/base/mkxl/typo-mar.mkxl')
-rw-r--r--tex/context/base/mkxl/typo-mar.mkxl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/typo-mar.mkxl b/tex/context/base/mkxl/typo-mar.mkxl
index c49f8824f..be43e667d 100644
--- a/tex/context/base/mkxl/typo-mar.mkxl
+++ b/tex/context/base/mkxl/typo-mar.mkxl
@@ -161,8 +161,8 @@
% trialtypesetting: no need for margin stuff while trialing as
% is has no dimensions
-\newcount\nofmargintexts
-\newcount\c_typo_margins_n
+\newinteger\nofmargintexts
+\newinteger\c_typo_margins_n
\ifdefined\dotagmarginanchor \else \aliased\let\dotagmarginanchor\gobbleoneargument \fi
\ifdefined\dotagmargintext \else \aliased\let\dotagmargintext \gobbleoneargument \fi
@@ -198,7 +198,7 @@
% \doifelsenothing{#content}\donefalse\donetrue
% \doifelsetext{#content}\donetrue\donefalse
\ifparameter#content\donefalse\or\donetrue\else\donefalse\fi
- \global\advance\c_typo_margins_n\plusone
+ \global\advanceby\c_typo_margins_n\plusone
\ifdone
\edef\currentmarginreference{\margindataparameter\c!reference}%
\ifempty\currentmarginreference \else