Difference between revisions of "Command/startlocalnotes"
< Command
Jump to navigation
Jump to search
m (more links) |
(add example) |
||
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] | ||
+ | \setupnote[testnote][ | ||
+ | textstyle=boldface, | ||
+ | conversion=Romannumerals, % doesn’t work | ||
+ | ] | ||
+ | |||
+ | \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> |
Revision as of 20:53, 13 September 2020
Contents
\startlocalnotes ... \stoplocalnotes
Summary
\startlocalnotes ... \stoplocalnotes works like \startlocalfootnotes ... \stoplocalfootnotes for your self-defined note types.
Settings
Description
Examples
Example 1
\definenote[testnote] \setupnote[testnote][ textstyle=boldface, conversion=Romannumerals, % doesn’t work ] \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