* Split Table, don't repeat caption
@ 2020-10-07 15:39 Denis Maier
2020-10-07 15:46 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Denis Maier @ 2020-10-07 15:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
is there a way not to repeat the caption of a multipage natural table?
I've searched the list archive and it looks the question came up a
couple of times, but I couldn't find an answer.
Also, if I add a footnote to a caption of a split table, this note
always appears when the caption appears for the last time. Can that be
changed?
Best,
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Split Table, don't repeat caption
2020-10-07 15:39 Split Table, don't repeat caption Denis Maier
@ 2020-10-07 15:46 ` Wolfgang Schuster
2020-10-07 16:00 ` Denis Maier
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2020-10-07 15:46 UTC (permalink / raw)
To: mailing list for ConTeXt users, Denis Maier
Denis Maier schrieb am 07.10.2020 um 17:39:
> Hi,
>
> is there a way not to repeat the caption of a multipage natural table?
> I've searched the list archive and it looks the question came up a
> couple of times, but I couldn't find an answer.
If this doesn't help you have to provide a example.
\starttext
\bTABLE[split=yes]
\bTABLEhead
\bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR
\eTABLEhead
\bTABLEbody
\dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}
\eTABLEbody
\eTABLE
\stoptext
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Split Table, don't repeat caption
2020-10-07 15:46 ` Wolfgang Schuster
@ 2020-10-07 16:00 ` Denis Maier
2020-10-08 11:28 ` Denis Maier
0 siblings, 1 reply; 4+ messages in thread
From: Denis Maier @ 2020-10-07 16:00 UTC (permalink / raw)
To: Wolfgang Schuster, mailing list for ConTeXt users
Am 07.10.2020 um 17:46 schrieb Wolfgang Schuster:
> Denis Maier schrieb am 07.10.2020 um 17:39:
>> Hi,
>>
>> is there a way not to repeat the caption of a multipage natural
>> table? I've searched the list archive and it looks the question came
>> up a couple of times, but I couldn't find an answer.
>
> If this doesn't help you have to provide a example.
> [...]
>
Ok:
=========================
\setupcaption[table]
[location=top]
\starttext
\startplacetable[location=split,title={Title\footnote{footnote}}]
\bTABLE[split=yes]
\bTABLEhead
\bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR
\eTABLEhead
\bTABLEbody
\dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}
\eTABLEbody
\eTABLE
\stopplacetable
\stoptext
========================
So, the caption appears on each page, and the footnote is attached to
the last caption. Ideally, the footnote should be attached to the first
caption. (And, actually, I want the caption only once.)
Best,
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Split Table, don't repeat caption
2020-10-07 16:00 ` Denis Maier
@ 2020-10-08 11:28 ` Denis Maier
0 siblings, 0 replies; 4+ messages in thread
From: Denis Maier @ 2020-10-08 11:28 UTC (permalink / raw)
To: Wolfgang Schuster, mailing list for ConTeXt users
Am 07.10.2020 um 18:00 schrieb Denis Maier:
> Am 07.10.2020 um 17:46 schrieb Wolfgang Schuster:
>> Denis Maier schrieb am 07.10.2020 um 17:39:
>>> Hi,
>>>
>>> is there a way not to repeat the caption of a multipage natural
>>> table? I've searched the list archive and it looks the question came
>>> up a couple of times, but I couldn't find an answer.
>>
>> If this doesn't help you have to provide a example.
>> [...]
>>
>
> Ok:
>
> =========================
> \setupcaption[table]
> [location=top]
> \starttext
>
> \startplacetable[location=split,title={Title\footnote{footnote}}]
> \bTABLE[split=yes]
> \bTABLEhead
> \bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR
> \eTABLEhead
> \bTABLEbody
> \dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}
> \eTABLEbody
> \eTABLE
> \stopplacetable
> \stoptext
> ========================
>
> So, the caption appears on each page, and the footnote is attached to
> the last caption. Ideally, the footnote should be attached to the
> first caption. (And, actually, I want the caption only once.)
Ok, I've found a solution:
```
\setupcaption[table][location=top]
\starttext
\startplacetable[location={none,split}]
\startalignment[middle]
\placefloatcaption[table][title={Title\footnote{footnote}}]
\stopalignment
\bTABLE[split=yes]
\bTABLEhead
\bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR
\eTABLEhead
\bTABLEbody
\dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}
\eTABLEbody
\eTABLE
\stopplacetable
\stoptext
```
That works, but isn't there an easier solution yet? An
automatic/parameter-based solution would be great. Something like:
=========================
\setupcaption[table]
[location=top]
\starttext
\startplacetable[location={split,captiononcefirst},title={Title\footnote{footnote}}]
[...]
\stopplacetable
\stoptext
========================
Best,
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-08 11:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07 15:39 Split Table, don't repeat caption Denis Maier
2020-10-07 15:46 ` Wolfgang Schuster
2020-10-07 16:00 ` Denis Maier
2020-10-08 11:28 ` Denis Maier
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).