summaryrefslogtreecommitdiff
path: root/tex/context/base/core-not.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-not.tex')
-rw-r--r--tex/context/base/core-not.tex20
1 files changed, 10 insertions, 10 deletions
diff --git a/tex/context/base/core-not.tex b/tex/context/base/core-not.tex
index 500a28893..b74ba9403 100644
--- a/tex/context/base/core-not.tex
+++ b/tex/context/base/core-not.tex
@@ -570,9 +570,9 @@
\def\domovednote#1#2%
{\ifconditional\pagewisenotes
- \doifreferencefoundelse{\s!fnt:t:\internalfootreference}
+ \doifreferencefoundelse{\s!fnt:t:\number\internalnotereference}
{\let\savedrealreference\currentrealreference
- \doifreferencefoundelse{\s!fnt:f:\internalfootreference}
+ \doifreferencefoundelse{\s!fnt:f:\number\internalnotereference}
{\ifnum\savedrealreference<\currentrealreference\relax\symbol[#1]\else
\ifnum\savedrealreference>\currentrealreference\relax\symbol[#2]\fi\fi}
\donothing}
@@ -599,7 +599,7 @@
\long\def\nododonote#1#2%
{\doifnot{#1}{-}
{\ifconditional\pagewisenotes
- \doifreferencefoundelse{\s!fnt:t:\internalfootreference}
+ \doifreferencefoundelse{\s!fnt:t:\number\internalnotereference}
{\ifnum\currentrealreference>\lastnotepage\relax
\globallet\lastnotepage\currentrealreference
\resetnumber[\currentnote]%
@@ -613,14 +613,14 @@
\decrementnumber[\currentnote]}}
\def\dododonote#1%
- {\doglobal\increment\internalfootreference
+ {\global\advance\internalnotereference\plusone
\doifelse{\noteparameter\c!way}{\v!by\v!page}
{\settrue\pagewisenotes}
{\setfalse\pagewisenotes}%
\doifelse{#1}{-}
{\let\lastnotenumber\empty}
{\ifconditional\pagewisenotes
- \doifreferencefoundelse{\s!fnt:t:\internalfootreference}
+ \doifreferencefoundelse{\s!fnt:t:\number\internalnotereference}
{\ifnum\currentrealreference>\lastnotepage\relax
\globallet\lastnotepage\currentrealreference
\resetnumber[\currentnote]%
@@ -661,7 +661,7 @@
%D mainly because endnotes had to be supported.} that is,
%D automatically (vise versa) and by user supplied reference.
-\newcounter\internalfootreference
+\newcount\internalnotereference
\let\startpushnote=\relax
\let\stoppushnote =\relax
@@ -674,11 +674,11 @@
\newconditional\processingnote
\def\footnotereferencefrom
- {\rawreference\s!fnt{\s!fnt:f:\internalfootreference}{}}
+ {\rawreference\s!fnt{\s!fnt:f:\number\internalnotereference}{}}
\def\footnotereferenceto
{\global\advance\crossreferencenumber\minusone\relax % else problem, needs further testing
- \rawreference\s!fnt{\s!fnt:t:\internalfootreference}{}}
+ \rawreference\s!fnt{\s!fnt:t:\number\internalnotereference}{}}
\def\dostartnote% nog gobble als in pagebody
{\pushsomestates
@@ -715,7 +715,7 @@
{\preparednumber\domovednote\v!nextpage\v!previouspage}}%
{\gotobox{\noteparameter\c!command % was \c!numbercommand, but compatible
{\preparednumber\domovednote\v!nextpage\v!previouspage}}%
- [\s!fnt:f:\internalfootreference]}%
+ [\s!fnt:f:\number\internalnotereference]}%
\fi
\doifelse{\noteparameter\c!interaction}\v!no
{\ifconditional\pagewisenotes
@@ -750,7 +750,7 @@
\fi}
{\gotobox
{\dodonotesymbol{\lastnotenumber\domovednote\v!previouspage\v!nextpage}}%
- [\s!fnt:t:\internalfootreference]%
+ [\s!fnt:t:\number\internalnotereference]%
\footnotereferencefrom}%
\globallet\lastnotesymbol\relax}