summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/strc-lnt.mklx
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/strc-lnt.mklx')
-rw-r--r--tex/context/base/mkxl/strc-lnt.mklx8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/mkxl/strc-lnt.mklx b/tex/context/base/mkxl/strc-lnt.mklx
index 31a558a06..331be8737 100644
--- a/tex/context/base/mkxl/strc-lnt.mklx
+++ b/tex/context/base/mkxl/strc-lnt.mklx
@@ -23,8 +23,8 @@
\aliased\let\setuplinenote\setupnote
-\newcount\c_strc_linenotes
-\newtoks\everydefinelinenote
+\newinteger\c_strc_linenotes
+\newtoks \everydefinelinenote
\permanent\tolerant\protected\def\definelinenote[#1]#*[#2]#*[#3]%
{\ifarguments
@@ -55,13 +55,13 @@
\fi}
\protected\def\strc_linenotes_direct#1#2%
- {\global\advance\c_strc_linenotes\plusone
+ {\global\advanceby\c_strc_linenotes\plusone
\strc_linenotes_indeed{#1}{\the\c_strc_linenotes}{#2}%
\strc_linenotes_traced\empty
\normalexpanded{\someline[\the\c_strc_linenotes]}}
\protected\def\strc_linenotes_start#1[#2]#3%
- {\global\advance\c_strc_linenotes\plusone
+ {\global\advanceby\c_strc_linenotes\plusone
\keepunwantedspaces
\strc_linenotes_indeed{#1}{#2}{#3}%
\strc_linenotes_traced{#2}%