From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: Denis Maier via ntg-context <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>
Subject: Re: local footnotes and captions
Date: Thu, 16 Jun 2022 14:12:44 +0200 [thread overview]
Message-ID: <2b785223-a86f-7cc6-b659-2d76057a20a8@xs4all.nl> (raw)
In-Reply-To: <cb162808efb54e3c9bc4253ebbd194a7@unibe.ch>
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2022-06-16 12:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 10:43 Denis Maier via ntg-context
2022-06-16 12:12 ` Hans Hagen via ntg-context [this message]
2022-06-16 13:18 ` Denis Maier via ntg-context
2022-06-16 19:03 ` Henning Hraban Ramm via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2b785223-a86f-7cc6-b659-2d76057a20a8@xs4all.nl \
--to=ntg-context@ntg.nl \
--cc=j.hagen@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).