summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-not.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/strc-not.mkvi')
-rw-r--r--tex/context/base/strc-not.mkvi14
1 files changed, 8 insertions, 6 deletions
diff --git a/tex/context/base/strc-not.mkvi b/tex/context/base/strc-not.mkvi
index 761dec0f5..06d6d502e 100644
--- a/tex/context/base/strc-not.mkvi
+++ b/tex/context/base/strc-not.mkvi
@@ -969,7 +969,8 @@
{\normalexpanded{\rawprocesscommalist[\noteparameter\c!location]\strc_notes_set_location_step}}
\unexpanded\def\strc_notes_set_location_step#alternative% the insert related one
- {\ifcsname\??notelocation#alternative\endcsname\csname\??notelocation#alternative\endcsname\fi}
+ %{\ifcsname\??notelocation#alternative\endcsname\csname\??notelocation#alternative\endcsname\fi}
+ {\begincsname\??notelocation#alternative\endcsname}
\appendtoks
\strc_notes_set_variants
@@ -1172,8 +1173,8 @@
\newconditional\c_strc_notes_symbol \settrue\c_strc_notes_symbol % not used
\newconditional\c_strc_notes_skip
-\unexpanded\def\setnote [#tag]{\getvalue{#tag}}
-\unexpanded\def\setnotetext[#tag]{\global\settrue\c_strc_notes_skip\getvalue{#tag}}
+\unexpanded\def\setnote [#tag]{\csname#tag\endcsname}
+\unexpanded\def\setnotetext[#tag]{\global\settrue\c_strc_notes_skip\csname#tag\endcsname}
\unexpanded\def\handlenoteinsert#tag#id%
{\begingroup
@@ -1570,8 +1571,6 @@
\noteparameter\c!after
\fi}}
-\setvalue{\??notealternative}{\getvalue{\??notealternative\v!none}}
-
%D A stupid alternative is also provided:
%D
%D \starttyping
@@ -1585,6 +1584,9 @@
\installnotealternative \v!none
{\flushlocalnotes\currentnote}
+\installnotealternative \empty
+ {\flushlocalnotes\currentnote}
+
\installnotealternative \v!grid % test if n > 0
{\begingroup
\setupcurrentnote[\c!location=]%
@@ -1772,7 +1774,7 @@
%D }
%D \stoptyping
-\def\doifelsenoteonsamepage[#tag]{\clf_doifnoteonsamepageasprevious{#tag}}
+\def\doifelsenoteonsamepage#tag{\clf_doifnoteonsamepageasprevious{#tag}}
\let\doifnoteonsamepageelse\doifelsenoteonsamepage