Difference between revisions of "Command/ note"

From Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<?xml version='1.0'?>
 
<!-- this file was generated on 2020-08-20T09:05 -->
 
 
<cd:commandgroup generated="yes" name="note" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
 
<cd:commandgroup generated="yes" name="note" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>
+
<cd:shortdesc><!-- a short command summary goes here -->
<!-- a short command summary goes here -->
 
 
The instances of  <tt>\<i>note</i></tt> are used for footnotes and endnotes.
 
The instances of  <tt>\<i>note</i></tt> are used for footnotes and endnotes.
 
</cd:shortdesc>
 
</cd:shortdesc>
Line 52: Line 49:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description>
+
<cd:description><!-- the long description of the command goes here -->
<!-- the long description of the command goes here -->
 
 
</cd:description>
 
</cd:description>
<cd:examples>
+
<cd:examples><cd:example title="Footnote example"><context source="yes">
<cd:example title="Footnote example">
+
\setuppapersize[A7,landscape] \showframe
 
+
\starttext
<context source="yes">
 
\setuppapersize[A7]
 
 
 
 
The Hanse was a late medieval commercial alliance of towns in the
 
The Hanse was a late medieval commercial alliance of towns in the
 
regions of the North and the Baltic Sea. The association was formed
 
regions of the North and the Baltic Sea. The association was formed
Line 70: Line 63:
 
caused an enormous growth of welfare in the Hanseatic
 
caused an enormous growth of welfare in the Hanseatic
 
towns.\footnote{Hasselt is one of these towns.}
 
towns.\footnote{Hasselt is one of these towns.}
 +
\stoptext
 
</context>
 
</context>
</cd:example>
 
<cd:example title="Endnote example">
 
<context source="yes">
 
\setuppapersize[A7]
 
  
 +
</cd:example><cd:example title="Endnote example"><context source="yes">
 +
\setuppapersize[A7,landscape] \showframe
 +
\starttext
 
The Hanse was a late medieval commercial alliance of towns in the
 
The Hanse was a late medieval commercial alliance of towns in the
 
regions of the North and the Baltic Sea. The association was formed
 
regions of the North and the Baltic Sea. The association was formed
Line 87: Line 80:
  
 
\placenotes[endnote]
 
\placenotes[endnote]
 +
\stoptext
 
</context>
 
</context>
</cd:example>
+
</cd:example></cd:examples>
</cd:examples>
+
<cd:notes></cd:notes>
<cd:notes>
 
<!--  this is for special remarks that do not fit elsewhere, like discovered bugs in specific context versions
 
<cd:note author="..." date="...">
 
</cd:note>
 
-->
 
</cd:notes>
 
 
<cd:seealso>
 
<cd:seealso>
<!-- one or more of these:
 
<cd:commandref name="xx"></cd:commandref>
 
<cd:wikipage  page="xx"></cd:wikipage>
 
<cd:url        url="https://xx"></cd:url>
 
<cd:manual    pdf="xx"></cd:manual>
 
<cd:source    file="xx"></cd:source>
 
-->
 
 
<cd:commandref name="_startnote" originator="system"></cd:commandref>
 
<cd:commandref name="_startnote" originator="system"></cd:commandref>
 
<cd:commandref name="definenote" originator="system"></cd:commandref>
 
<cd:commandref name="definenote" originator="system"></cd:commandref>
 
<cd:commandref name="setupnote" originator="system"></cd:commandref>
 
<cd:commandref name="setupnote" originator="system"></cd:commandref>
<cd:source file="strc-not.mkvi" originator="system"></cd:source>  
+
<cd:source file="strc-not.mkvi" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage>  
+
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage>
<cd:wikipage originator="system" page="Keywords:Notes"></cd:wikipage>  
+
<cd:wikipage originator="system" page="Keywords:Notes"></cd:wikipage>
 
<cd:commandref name="note"></cd:commandref>
 
<cd:commandref name="note"></cd:commandref>
 
<cd:commandref name="setupnotes"></cd:commandref>
 
<cd:commandref name="setupnotes"></cd:commandref>
 
<cd:commandref name="setupfootnotes"></cd:commandref>
 
<cd:commandref name="setupfootnotes"></cd:commandref>
 
<cd:commandref name="setupnotation"></cd:commandref>
 
<cd:commandref name="setupnotation"></cd:commandref>
<cd:commandref name="placenotes"></cd:commandref>
+
<cd:commandref name="placenotes"></cd:commandref></cd:seealso>
</cd:seealso>
 
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 13:41, 16 November 2021


\note

Summary

The instances of \note are used for footnotes and endnotes.

Instances

\footnoteInsert a footnote mark, and a footnote at the bottom of the page. (Or elsewhere, depending on \setupfootnotes.) If the footnote is specified with a label, you can refer to it elsewhere using \note[label], and the extra reference will use the same mark as the original.
\endnoteInsert a footnote mark, but no footnote. If the endnote is specified with a label, you can refer to it elsewhere using \note[label], and the extra reference will use the same mark as the original. You need to use \placenotes[endnote] at the place where you want to have them.

Settings instance

\NOTE[...,...]{...}
[...,...]reference
{...}text

Settings instance:assignment

\NOTE[...=...,...]
titletext
bookmarktext
listtext
referencereference

Description

Examples

Footnote example

\setuppapersize[A7,landscape] \showframe
\starttext
The Hanse was a late medieval commercial alliance of towns in the
regions of the North and the Baltic Sea. The association was formed
for the furtherance and protection of the commerce of its
members.\footnote[war]{This was the source of jealousy and fear among
other towns that caused a number of wars.} In the Hanse period there
was a lively trade in all sorts of articles such as wood, wool,
metal, cloth, salt, wine and beer.\note[war] The prosperous trade
caused an enormous growth of welfare in the Hanseatic
towns.\footnote{Hasselt is one of these towns.}
\stoptext


Endnote example

\setuppapersize[A7,landscape] \showframe
\starttext
The Hanse was a late medieval commercial alliance of towns in the
regions of the North and the Baltic Sea. The association was formed
for the furtherance and protection of the commerce of its
members.\endnote[war]{This was the source of jealousy and fear among
other towns that caused a number of wars.} In the Hanse period there
was a lively trade in all sorts of articles such as wood, wool,
metal, cloth, salt, wine and beer.\note[war] The prosperous trade
caused an enormous growth of welfare in the Hanseatic
towns.\endnote{Hasselt is one of these towns.}

\placenotes[endnote]
\stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: