From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115267 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier via ntg-context Newsgroups: gmane.comp.tex.context Subject: local footnotes and captions Date: Thu, 16 Jun 2022 10:43:20 +0000 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0797955725157369950==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18480"; mail-complaints-to="usenet@ciao.gmane.io" Cc: denis.maier@unibe.ch To: Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 16 12:43:58 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o1myk-0004cS-OI for gctc-ntg-context-518@m.gmane-mx.org; Thu, 16 Jun 2022 12:43:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6360328A2E5; Thu, 16 Jun 2022 12:43:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XFqmmCBedpwc; Thu, 16 Jun 2022 12:43:24 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8FA6228A3AD; Thu, 16 Jun 2022 12:43:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D6CA128A382 for ; Thu, 16 Jun 2022 12:43:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1KasRs-qhAei for ; Thu, 16 Jun 2022 12:43:22 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.83; helo=mailhub-lb2.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Original-Received: from mailhub-lb2.unibe.ch (mailhub-lb2.unibe.ch [130.92.0.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 8AB9828A2E5 for ; Thu, 16 Jun 2022 12:43:22 +0200 (CEST) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-04.campus.unibe.ch [130.92.13.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb2.unibe.ch (Postfix) with ESMTPS id 35057500082 for ; Thu, 16 Jun 2022 12:43:21 +0200 (CEST) Thread-Topic: local footnotes and captions Thread-Index: AdiBbYYGKFpfBNfkRKGCjGcF50VCRQ== Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:115267 Archived-At: --===============0797955725157369950== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_cb162808efb54e3c9bc4253ebbd194a7unibech_" --_000_cb162808efb54e3c9bc4253ebbd194a7unibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, another experiment with footnotes in captions, this time local footnotes : %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setupcaptions[location=3Dtop] \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 capti= on be numbered with 1? 2. The footnote in the caption is not included in the local footnotes. Why = is that? Denis --_000_cb162808efb54e3c9bc4253ebbd194a7unibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

another experiment with footnot= es in captions, this time local footnotes :

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%%

\setupcaptions[location=3Dtop]<= o:p>

\starttext

     &= nbsp;          \startlocalfoot= notes

     &= nbsp;          \placetable

    % The captio= n

    {A breakfast= table.\footnote{asdf}}

    % the table<= o:p>

    \placelegend=

     &= nbsp;  {\starttable[|l|r|]

     &= nbsp;      \HL

     &= nbsp;      \VL Spam \footnote {lovely} \VL Bacon \= footnote {wonderful} \VL\FR

     &= nbsp;      \VL Eggs \footnote {wonderful} \VL Spam= \footnote {lovely} \VL\LR

     &= nbsp;      \HL

     &= nbsp;  \stoptable}

     &= nbsp;  % the footnotes

     &= nbsp;  {\placelocalfootnotes}

\stoplocalfootnotes  =             &nb= sp;       

\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%%

 

Two observations :

1. the footnote numbering is a bit odd, shouldn̵= 7;t the footnote in the caption be numbered with 1?

2. The footnote in the caption is not included in th= e local footnotes. Why is that?

 

Denis

 

--_000_cb162808efb54e3c9bc4253ebbd194a7unibech_-- --===============0797955725157369950== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0797955725157369950==--