Changes

Jump to navigation Jump to search
1,075 bytes added ,  21:13, 22 August 2005
Added some examples of footnotes.
Simply use <cmd>footnote</cmd><tt>[reference]{footnote text}</tt>.
You can leave out the reference, but you need it if you like to refer to the same footnote again with <cmd>note</cmd><tt>[reference]</tt>. For example:
<texcode>This\footnote[footA](Or that, if you prefer} is a sentence with a footnote\footnote{Actually,two footnotes; this one and footnote \note[footA].}. </texcode> <context>\starttext\hskip 1in \vskip 7.25in % A hack to shorten the page.This\footnote[footA](Or that, if you prefer} is a sentence with a footnote\footnote{Actually,two footnotes; this one and footnote \note[footA].}. \stoptext</context> You can setup the exact behaviour of footnotes as usual with <cmd>setupfootnotes</cmd>. For example, to use footnotes with standard footnote symbols (which ConTeXt has defined as the conversion "set 2"), with the footnote counter resetting on each page, one would use the following: <texcode>\setupfootnotes[way=bypage, conversion=set 2]</texcode> This produces the the following footnotes, using the text of the previous example. <context>\setupfootnotes[way=bypage, conversion=set 2]\starttext\hskip 1in \vskip 7.25in % A hack to shorten the page.This\footnote[footA](Or that, if you prefer} is a sentence with a footnote\footnote{Actually,two footnotes; this one and footnote \note[footA].}. \stoptext</context>
It is possible to place footnotes as endnotes or as marginals ((someone please add an example!)).

Navigation menu