* \placetable[location=split] reference ??
@ 2020-04-22 19:10 Benjamin Buchmuller
2020-05-07 10:26 ` Benjamin Buchmuller
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Buchmuller @ 2020-04-22 19:10 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I would like to reference a table of the following structure.
\starttext
\startplacetable[reference=tab1,title={A table},location=split]
\startxtable
\startxrow
\startxcell hi \stopxcell
\stopxrow
\stopxtable
\stopplacetable
In Table \in[tab1]
\stoptext
It has [location=split], which I need this because xtable doesn’t like to be placed without a split; and apparently neither does it accept the \placetable[ref]{...} syntax. However, the reference is now no longer detected.
I can see that the split table’s caption is about to become "Table 1.a.", "Table 1.b" etc. and I appreciate that this is potentially a quite complex mechanism anyways, but if there was any chance to get a reference as “Table 1”, I would be helped a lot.
On similar lines, is there a way to have “Table 1 (continued).” in the caption?
Cheers
Benjamin
___________________________________________________________________________________
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] 2+ messages in thread
* Re: \placetable[location=split] reference ??
2020-04-22 19:10 \placetable[location=split] reference ?? Benjamin Buchmuller
@ 2020-05-07 10:26 ` Benjamin Buchmuller
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Buchmuller @ 2020-05-07 10:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
Okay, I found the solution myself: Need to specify \startxtable[split=repeat] or else.
It’s actually a bit surprising that the value of the “outer” enivornment (placetable) depends on the settings in the inner one (xtable). I speculate this might be because the order of the tables might be different as soon as xtable tries to place them …
Cheers
\startplacetable[reference=tab1,title={A table},location=split]
\startxtable[split=repeat]
\startxrow
\startxcell hi \stopxcell
\stopxrow
\stopxtable
\stopplacetable
> On 22 Apr 2020, at 21:10, Benjamin Buchmuller <benjamin.buchmuller@gmail.com> wrote:
>
> Hi,
>
> I would like to reference a table of the following structure.
>
> \starttext
>
> \startplacetable[reference=tab1,title={A table},location=split]
> \startxtable
> \startxrow
> \startxcell hi \stopxcell
> \stopxrow
> \stopxtable
> \stopplacetable
>
> In Table \in[tab1]
>
> \stoptext
>
>
> It has [location=split], which I need this because xtable doesn’t like to be placed without a split; and apparently neither does it accept the \placetable[ref]{...} syntax. However, the reference is now no longer detected.
>
> I can see that the split table’s caption is about to become "Table 1.a.", "Table 1.b" etc. and I appreciate that this is potentially a quite complex mechanism anyways, but if there was any chance to get a reference as “Table 1”, I would be helped a lot.
>
> On similar lines, is there a way to have “Table 1 (continued).” in the caption?
>
> Cheers
>
>
> Benjamin
>
>
___________________________________________________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2020-05-07 10:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-22 19:10 \placetable[location=split] reference ?? Benjamin Buchmuller
2020-05-07 10:26 ` Benjamin Buchmuller
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).