summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/strc-not.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/strc-not.mkvi')
-rw-r--r--Master/texmf-dist/tex/context/base/strc-not.mkvi27
1 files changed, 13 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/context/base/strc-not.mkvi b/Master/texmf-dist/tex/context/base/strc-not.mkvi
index 09ea41bc4fa..76816d0355c 100644
--- a/Master/texmf-dist/tex/context/base/strc-not.mkvi
+++ b/Master/texmf-dist/tex/context/base/strc-not.mkvi
@@ -17,8 +17,8 @@
\unprotect
+% todo: finish local rendering
% todo: more p_strc_notations_* (outside trial loop)
-
% todo: see if we can now use \insertpenalties (>0 == some left)
\ifdefined\dotagsetnotesymbol \else \let\dotagsetnotesymbol\relax \fi
@@ -37,12 +37,12 @@
% textcommand/textstyle/textcolor : set by note commandhandler and used for inline number
%D \macros
-%D {setupnote,setupnotedefinition}
+%D {setupnote,setupnotation}
%D
%D We can influence footnote typesetting with the setup
%D command:
%D
-%D \showsetup{setupnotes}
+%D \showsetup{setupnotation}
%D \showsetup{setupnote}
%D
%D The definition command indicate that we can frame the footnote
@@ -131,11 +131,9 @@
{\normalexpanded{\defineconstruction[#tag][#parent][\s!handler=\v!notation,\c!level=#level]}%
\setevalue{\??note#tag:\s!parent}{\??note#parent}% see later for \s!note
\setevalue{\??notation#tag:\s!parent}{\??notation#parent}}%
- \setuevalue{\e!next #tag}{\strc_notations_next }%
- \setuevalue{\c!reset#tag}{\strc_notations_reset }%
- %setuevalue{\c!set #tag}{\strc_notations_set }%
- %setuevalue {#tag}{\strc_notations_command{\currentnotation}}%
- %setuevalue{\e!start#tag}{\strc_notations_start {\currentnotation}{#tag}}%
+ \setuevalue{\e!next #tag}{\strc_notations_next {#tag}{\number#level}}% obsolete
+ \setuevalue{\c!reset#tag}{\strc_notations_reset {#tag}{\number#level}}% obsolete
+ %setuevalue{\c!set #tag}{\strc_notations_set {#tag}{\number#level}}% obsolete
\setuevalue {#tag}{\strc_notations_command{#tag}}%
\setuevalue{\e!start#tag}{\strc_notations_start {#tag}{#tag}}% okay?
\setuevalue{\e!stop #tag}{\strc_notations_stop }}
@@ -221,9 +219,9 @@
% \notation[reference=,title=]
% \startnotation[ref] title \stopnotation
-\let\strc_notations_next \strc_enumerations_next
-\let\strc_notations_reset\strc_enumerations_reset
-%let\strc_notations_set \strc_enumerations_set
+\unexpanded\def\strc_notations_next {\strc_constructions_next_indeed \namednotationparameter} % #1#2
+\unexpanded\def\strc_notations_reset{\strc_constructions_reset_indeed\namednotationparameter} % #1#2
+%unexpanded\def\strc_notations_set {\strc_constructions_set_indeed \namednotationparameter} % #1#2
\unexpanded\def\strc_notations_command#tag%
{\begingroup
@@ -1476,7 +1474,7 @@
%D These commands can be used like:
%D
%D \startbuffer
-%D \startlocalnotes[width=.3\hsize,n=0]
+%D \startlocalnotes[footnote]
%D \placetable
%D {Some Table}
%D \placeontopofeachother
@@ -1486,7 +1484,8 @@
%D \VL Bene\footnote{Nota} \VL Nota\footnote{Bene} \VL\SR
%D \HL
%D \stoptable}
-%D {\placelocalnotes}
+%D {\setupnotation[footnote][alternative={serried},distance=.5em,after=\hskip1em]%
+%D \placelocalnotes[footnote]}
%D \stoplocalnotes
%D \stopbuffer
%D
@@ -1728,7 +1727,7 @@
%D Compatibility macros:
-\unexpanded\def\setupfootnotedefinition{\setupnotedefinition [\v!footnote]}
+\unexpanded\def\setupfootnotedefinition{\setupnotation [\v!footnote]}
\unexpanded\def\setupfootnotes {\setupnote [\v!footnote]}
\def\footnotetext {\setnotetext [\v!footnote]}
\unexpanded\def\placefootnotes {\dodoubleempty\strc_notes_place_footnotes [\v!footnote]}