[NTG-context] local footnotes and captions
Hans Hagen
j.hagen at xs4all.nl
Thu Jun 16 14:12:44 CEST 2022
On 6/16/2022 12:43 PM, Denis Maier via ntg-context wrote:
> Hi,
>
> another experiment with footnotes in captions, this time local footnotes :
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> \setupcaptions[location=top]
>
> \starttext
>
> \startlocalfootnotes
>
> \placetable
>
> % The caption
>
> {A breakfast table.\footnote{asdf}}
>
> % 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
>
> \stoptext
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> Two observations :
>
> 1. the footnote numbering is a bit odd, shouldn’t the footnote in the
> caption be numbered with 1?
>
> 2. The footnote in the caption is not included in the local footnotes.
> Why is that?
\starttext
\startplacetable[title={A breakfast table.\footnote{asdf}}]
\startlocalfootnotes
\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}
{\placelocalfootnotes}
\stoplocalfootnotes
\stopplacetable
\startlocalfootnotes
\footnotetext[asdf]{\footnote{asdf}}
\startplacetable[title={A breakfast table.\note[asdf]}]
\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}
{\placelocalfootnotes}
\stopplacetable
\stoplocalfootnotes
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the ntg-context
mailing list