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.mkvi42
1 files changed, 4 insertions, 38 deletions
diff --git a/tex/context/base/strc-not.mkvi b/tex/context/base/strc-not.mkvi
index 324499b4e..09ea41bc4 100644
--- a/tex/context/base/strc-not.mkvi
+++ b/tex/context/base/strc-not.mkvi
@@ -382,20 +382,6 @@
\def\currentnoteinsertion {\noteparameter\s!insert}
\def\currentnoteinsertionnumber{\namedinsertionnumber{\noteparameter\s!insert}}
-% \appendtoks
-% \doifinsertionelse\currentnote
-% \donothing
-% {\defineinsertion[\currentnote]% could be an option
-% \normalexpanded{\t_strc_notes{\the\t_strc_notes\noexpand\strc_notes_process_list{\currentnote}}}}%
-% \letnoteparameter\s!insert\currentnote
-% \ctxcommand{definenote("\currentnote","insert",\number\currentnoteinsertionnumber)}%
-% \ifx\currentnoteparent\empty
-% \definenotation[\currentnote][\c!type=\v!note]%
-% \else
-% \definenotation[\currentnote][\currentnoteparent][\c!type=\v!note]%
-% \fi
-% \to \everydefinenote
-
\appendtoks
\ifx\currentnoteparent\empty
\doifinsertionelse\currentnote
@@ -413,30 +399,6 @@
% maybe we will share this at some point:
-% \newtoks\everysetupnotecounter
-%
-% \let\v_strc_note_counter_name\empty
-%
-% \def\strc_notes_setup_counter#tag%
-% {\edef\v_strc_note_counter_name{#tag}% only used in the token list
-% \the\everysetupnotecounter}
-%
-% \def\strc_notes_define_counter#tag% todo: fast inheritance (was mainparameter
-% {\definecounter[#tag]%
-% \strc_notes_setup_counter{#tag}}
-%
-% \appendtoks
-% \strc_counter_setup_using_parameter\v_strc_note_counter_name\notationparameter
-% \to \everysetupnotecounter
-%
-% \appendtoks
-% \ifx\currentnotation\empty
-% \synchronizeenumerationcounters
-% \else
-% \strc_notes_setup_counter\currentnotation
-% \fi
-% \to \everysetupnotation
-
\def\strc_notes_define_counter#tag% todo: move inline
{\definecounter[#tag]%
\registerenumerationcounter{#tag}}
@@ -445,6 +407,10 @@
\synchronizenotationcounters
\to \everysetupnotation
+\appendtoks
+ \synchronizenotationcounters
+\to \everydefinenotation
+
% so far
%expandafter\let\csname\??constructionstarthandler \v!notation\expandafter\endcsname\csname\??constructionstarthandler \v!enumeration\endcsname