Re: [NTG-context] local footnotes and captions
If I combine the examples from the different threads (see attachment) – local and postponed footnotes – the local footnotes get repeated in global scope after the postponing. Hraban footnote-local.tex Description: TeX document ___ 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 ___
Re: [NTG-context] local footnotes and captions
I'm not quite I understand: Are you saying I should leave the caption in "global scope"? Regarding the second version: Shouldn't that be: \startlocalfootnotes \footnotetext[asdf]{asdf} % this %\footnotetext[asdf]{\footnote{asdf}} % instead of this \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 ? Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Donnerstag, 16. Juni 2022 14:13 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] local footnotes and captions > > 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 > __ > _ ___ 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 ___
Re: [NTG-context] local footnotes and captions
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 ___
[NTG-context] local footnotes and captions
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 ___ 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 ___
Re: [NTG-context] Local footnotes
On 10.11.2011, at 14:27, Wolfgang Schuster wrote: > > Am 10.11.2011 um 10:47 schrieb Andreas Harder: > >> Hi Hans, >> >> here is the minimal example which shows the problem with local footnotes. >> >> \starttext >> \startlocalfootnotes >> \dorecurse{23}{footnote\footnote{footnote}\par} % error >> % \dorecurse{22}{footnote\footnote{footnote}\par} % OK >> \placelocalfootnotes >> \stoplocalfootnotes >> \stoptext > > \placelocalfootnotes[height=\textheight] Thank you Wolfgang, this solved the problem. Andreas ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Local footnotes
Am 10.11.2011 um 10:47 schrieb Andreas Harder: > Hi Hans, > > here is the minimal example which shows the problem with local footnotes. > > \starttext > \startlocalfootnotes >\dorecurse{23}{footnote\footnote{footnote}\par} % error >% \dorecurse{22}{footnote\footnote{footnote}\par} % OK >\placelocalfootnotes > \stoplocalfootnotes > \stoptext \placelocalfootnotes[height=\textheight] Wolfgang ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Local footnotes
Hi Hans, here is the minimal example which shows the problem with local footnotes. \starttext \startlocalfootnotes \dorecurse{23}{footnote\footnote{footnote}\par} % error % \dorecurse{22}{footnote\footnote{footnote}\par} % OK \placelocalfootnotes \stoplocalfootnotes \stoptext Regards Andreas ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnotes
Hi Thomas, thank you very much, this works fine. But, something must have been changed, that my old program settings suddenly didn't work. Greetings Albrecht On Fri, 20 Feb 2009, Thomas Floeren wrote: > > > Hi Albrecht, > > have you tried my proposal from 13.2.08? > (http://archive.contextgarden.net/message/20090213.144419.432c095e.en.html) > > Maybe there is a better solution (?) but with my context installation and > mkII it just works fine this way. > > Greetings > Thomas > > > > > \setupoutput[pdftex] > \starttext > \startlocalfootnotes[n=0,conversion=characters] > \placetable[here][]{} > % \placelegend > { > \tfx > \setupTABLE [frame=off] > \bTABLE > \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR > > \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR > > \bTR\bTD 3.\note[foot:b] \eTD\bTD > 26.1 \eTD\eTR > \eTABLE > } > \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} > \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} > {\placelocalfootnotes} > \stoplocalfootnotes > \stoptext > > -Ursprüngliche Nachricht- > Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im > Auftrag von Albrecht Kauffmann > Gesendet: Freitag, 20. Februar 2009 09:18 > An: mailing list for ConTeXt users > Betreff: [NTG-context] local footnotes > > Hi all, > > please have a look to the following small table with its own footnotes: > > \setupoutput[pdftex] > \starttext > \startlocalfootnotes[n=0,conversion=characters] > \placetable[here][]{} > \placelegend > { > \tfx > \setupTABLE [frame=off] > \bTABLE > \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR > > \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der > Gesamtbevoelkerung} \eTD\bTD > 19.0 \eTD\eTR > > \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der > Stadtbevoelkerung} \eTD\bTD > 26.1 \eTD\eTR > \eTABLE > } > {\placelocalfootnotes} > \stoplocalfootnotes > \stoptext > > The problem is that the footnotes are printed centered over a very small > linewidth. To avoid this I can put every footnote text in a \hbox and then > use \leftaligned{\placelocalfootnotes}}, but this > is rather cumbersome. Has anyone a better solution? > > With many thanks in advance, > Albrecht > > > ___ > 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://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___ > > ___ > 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://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___ > ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] local footnotes
Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnotes
Hi Albrecht, have you tried my proposal from 13.2.08? (http://archive.contextgarden.net/message/20090213.144419.432c095e.en.html) Maybe there is a better solution (?) but with my context installation and mkII it just works fine this way. Greetings Thomas \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} % \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\note[foot:b] \eTD\bTD 26.1 \eTD\eTR \eTABLE } \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} {\placelocalfootnotes} \stoplocalfootnotes \stoptext -Ursprüngliche Nachricht- Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Albrecht Kauffmann Gesendet: Freitag, 20. Februar 2009 09:18 An: mailing list for ConTeXt users Betreff: [NTG-context] local footnotes Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnotes
-Ursprüngliche Nachricht- Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Albrecht Kauffmann Gesendet: Mittwoch, 11. Februar 2009 16:35 An: mailing list for ConTeXt users Betreff: [NTG-context] local footnotes Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht Hi, maybe like this: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} % \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\note[foot:b] \eTD\bTD 26.1 \eTD\eTR \eTABLE } \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} {\placelocalfootnotes} \stoplocalfootnotes \stoptext This gives footnotes at textwidth. Greetings Thomas ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] local footnotes
Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Local footnotes: note in caption, text below table
Hello, I'd like to have: TABLE 1.1: Some caption¹ -- table -- ¹ footnote text I tried \startlocalfootnotes[conversion=character,textstyle=\it] \placetable[][realSH]{Real... \footnote{Taken from...}} {\starttable[|c|c|c|c|] % \stoptable \placefootnotes} \stoplocalfootnotes But this fails. While I have a vague idea why it fails, I don't know the proper solution. Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context