Difference between revisions of "Command/startlocalnotes"

From Wiki
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>

Latest revision as of 20:53, 13 September 2020


\startlocalnotes ... \stoplocalnotes

Summary

\startlocalnotes ... \stoplocalnotes works like \startlocalfootnotes ... \stoplocalfootnotes for your self-defined note types.

Settings

\startlocalnotes[...,...] ... \stoplocalnotes
[...,...]name

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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: