Difference between revisions of "Command/startlocalfootnotes"

From Wiki
Jump to navigation Jump to search
m (Taco moved page Environment/localfootnotes to Command/startlocalfootnotes over a redirect without leaving a redirect)
m (fixed error: placelocalfootnotes must occur before stoplocalfootnotes)
 
Line 14: Line 14:
  
 
== Description ==  
 
== Description ==  
Footnotes from this point on until {{code|\stoplocalfootnotes}} are considered local footnotes. They start counting again from 1; and they are not placed with the regular footnotes, but by the next {{cmd|placelocalfootnotes}} (which need not occur inside the {{code|\localfootnotes}} block).
+
Footnotes from this point on until {{code|\stoplocalfootnotes}} are considered local footnotes. They start counting again from 1; and they are not placed with the regular footnotes, but by the next {{cmd|placelocalfootnotes}} (which needs to occur inside the {{code|\localfootnotes}} block).
  
 
== Example ==
 
== Example ==

Latest revision as of 20:32, 13 September 2020

\startlocalfootnotes

Syntax (autogenerated)

\startlocalfootnotes ... \stoplocalfootnotes


Syntax

\startlocalfootnotes ... \stoplocalfootnotes

Description

Footnotes from this point on until \stoplocalfootnotes are considered local footnotes. They start counting again from 1; and they are not placed with the regular footnotes, but by the next \placelocalfootnotes (which needs to occur inside the \localfootnotes block).

Example

\setuppapersize[A8]
Spam spam spam\footnote{eggs}

\startlocalfootnotes[n=0]
\placetable
    % The caption
    {A breakfast table.}    
    % the table
    \placelegend
        {\starttable[|l|r|]
            \HL
            \VL Spam \footnote {lovely} \VL Bacon \footnote {wonderful} \VL\FR
            \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} \VL\LR
            \HL
        \stoptable}
        % the footnotes
        {\placelocalfootnotes}
\stoplocalfootnotes

Spam, spam, eggs, and bacon\footnote{and spam}

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: