diff options
Diffstat (limited to 'tex/context/base/strc-not.mkvi')
-rw-r--r-- | tex/context/base/strc-not.mkvi | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/tex/context/base/strc-not.mkvi b/tex/context/base/strc-not.mkvi index 0a89edf3d..691b69c2a 100644 --- a/tex/context/base/strc-not.mkvi +++ b/tex/context/base/strc-not.mkvi @@ -254,6 +254,19 @@ \strc_constructions_finalize \normalexpanded{\endgroup\noteparameter\c!next}} +% \unexpanded\def\strc_notations_start#tag#stoptag% +% {\begingroup +% \edef\currentnote{#tag}% +% \strc_constructions_initialize{#tag}% +% \strc_notes_synchronize +% \ifnotesenabled +% \strc_counters_increment_sub\currentconstructionnumber\currentconstructionlevel +% \fi +% \normalexpanded % not that efficient but also not that frequently used (\normaldef for parser) +% {\normaldef\noexpand\strc_pickup_yes[##1]##2\csname\e!stop#stoptag\endcsname{\strc_notations_command_yes[##1]{##2}}% +% \normaldef\noexpand\strc_pickup_nop ##1\csname\e!stop#stoptag\endcsname{\strc_notations_command_nop {##1}}}% +% \doifnextoptionalelse\strc_pickup_yes\strc_pickup_nop} + \unexpanded\def\strc_notations_start#tag#stoptag% {\begingroup \edef\currentnote{#tag}% @@ -262,9 +275,9 @@ \ifnotesenabled \strc_counters_increment_sub\currentconstructionnumber\currentconstructionlevel \fi - \normalexpanded % not that efficient but also not that frequently used - {\def\noexpand\strc_pickup_yes[##1]##2\csname\e!stop#stoptag\endcsname{\strc_notations_command_yes[##1]{##2}}% - \def\noexpand\strc_pickup_nop ##1\csname\e!stop#stoptag\endcsname{\strc_notations_command_nop {##1}}}% + \normalexpanded % not that efficient but also not that frequently used (\normaldef for parser) + {\def\noexpand\strc_pickup_yes[#one]#two\csname\e!stop#stoptag\endcsname{\strc_notations_command_yes[#one]{#two}}% + \def\noexpand\strc_pickup_nop #one\csname\e!stop#stoptag\endcsname{\strc_notations_command_nop {#one}}}% \doifnextoptionalelse\strc_pickup_yes\strc_pickup_nop} \unexpanded\def\strc_notations_start_yes[#reference]#title% |