Difference between revisions of "Command/startlocalnotes"
< Command
Jump to navigation
Jump to search
(new) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 13: | Line 13: | ||
<cd:description><!-- the long description of the command goes here --> | <cd:description><!-- the long description of the command goes here --> | ||
</cd:description> | </cd:description> | ||
− | <cd:examples></cd:examples> | + | <cd:examples><cd:example title=""><context source="yes"> |
+ | \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 | ||
+ | </context> | ||
+ | </cd:example></cd:examples> | ||
<cd:notes></cd:notes> | <cd:notes></cd:notes> | ||
<cd:seealso> | <cd:seealso> | ||
Line 21: | Line 45: | ||
<cd:commandref name="placelocalnotes"></cd:commandref> | <cd:commandref name="placelocalnotes"></cd:commandref> | ||
<cd:commandref name="definenote"></cd:commandref> | <cd:commandref name="definenote"></cd:commandref> | ||
− | <cd:commandref name="setupnote"></cd:commandref></cd:seealso> | + | <cd:commandref name="setupnote"></cd:commandref> |
+ | <cd:commandref name="placelocalfootnotes"></cd:commandref> | ||
+ | <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