Difference between revisions of "Command/startlocalnotes"

From Wiki
Jump to navigation Jump to search
m (more links)
 
(One intermediate revision 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 23: 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


\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]
% 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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: