ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Benjamin Buchmuller <benjamin.buchmuller@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \placetable[location=split] reference ??
Date: Thu, 7 May 2020 12:26:20 +0200	[thread overview]
Message-ID: <6A993349-1A77-462B-AC8B-DCF712047F56@gmail.com> (raw)
In-Reply-To: <382BE67D-366E-4131-B6D5-B49EC33F77BE@gmail.com>

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
___________________________________________________________________________________

      reply	other threads:[~2020-05-07 10:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 19:10 Benjamin Buchmuller
2020-05-07 10:26 ` Benjamin Buchmuller [this message]

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=6A993349-1A77-462B-AC8B-DCF712047F56@gmail.com \
    --to=benjamin.buchmuller@gmail.com \
    --cc=ntg-context@ntg.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).