[NTG-context] local footnotes and captions

denis.maier at unibe.ch denis.maier at unibe.ch
Thu Jun 16 12:43:20 CEST 2022


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?

Denis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220616/6b57cd18/attachment.htm>


More information about the ntg-context mailing list