Difference between revisions of "Command/startlocalnotes"
< Command
Jump to navigation
Jump to search
(add example) |
|||
Line 15: | Line 15: | ||
<cd:examples><cd:example title=""><context source="yes"> | <cd:examples><cd:example title=""><context source="yes"> | ||
\definenote[testnote] | \definenote[testnote] | ||
− | \setupnote[testnote] | + | % add a bit of visual contrast: |
− | textstyle=boldface | + | \setupnote |
− | + | [testnote] | |
− | + | [textstyle=boldface] | |
+ | \setupnotation | ||
+ | [testnote] | ||
+ | [numberconversion=romannumerals] % | ||
\starttext | \starttext | ||
Line 44: | Line 47: | ||
<cd:commandref name="setupnote"></cd:commandref> | <cd:commandref name="setupnote"></cd:commandref> | ||
<cd:commandref name="placelocalfootnotes"></cd:commandref> | <cd:commandref name="placelocalfootnotes"></cd:commandref> | ||
− | <cd:commandref name="startlocalfootnotes"></cd:commandref></cd:seealso> | + | <cd:commandref name="startlocalfootnotes"></cd:commandref> |
+ | <cd:commandref name="setupnotation"></cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 13:28, 16 November 2021
Contents
\startlocalnotes ... \stoplocalnotes
Summary
\startlocalnotes ... \stoplocalnotes works like \startlocalfootnotes ... \stoplocalfootnotes for your self-defined note types.
Settings
Description
Examples
Example 1
\definenote[testnote] % add a bit of visual contrast: \setupnote [testnote] [textstyle=boldface] \setupnotation [testnote] [numberconversion=romannumerals] % \starttext Some text.\testnote{First testnote, not \quote{local}.} And some more.\footnote{This is a normal footnote.} \startlocalnotes[testnote] \input knuth \testnote{Donald dixit} Foo\testnote{Nonsens.} bar baz\footnote{This is also a normal footnote.} \framed[width=\textwidth,align=flushleft]{\placelocalnotes[testnote]} \stoplocalnotes The End. \stoptext