From: Bruce Horrocks via ntg-context <ntg-context@ntg.nl>
To: ntg-context mailing list <ntg-context@ntg.nl>
Cc: Bruce Horrocks <ntg@scorecrow.com>
Subject: Re: Changing the caption on a split table
Date: Sat, 13 Aug 2022 09:35:54 +0100 [thread overview]
Message-ID: <99F9271D-AEB2-4DBF-9FE0-EF5823705B47@scorecrow.com> (raw)
In-Reply-To: <2DAAF0BB-D26F-46ED-8D6D-4B4CEA2C7E65@scorecrow.com>
> On 3 Aug 2022, at 00:26, Bruce Horrocks via ntg-context <ntg-context@ntg.nl> wrote:
>
> I have a 5-page table placed using
>
> \setupcaption [table] [way=bytext,prefixsegments=none]
> \placetable[split]{My long table}{...}
>
> The caption for the first table page is "Table 1a My Long table"; for the second table page it is "Table 1b My long table" and so on. I'd like to change these to be "Table 1 My Long table" then "Table 1 (cont'd) My long table" for the remaining pages.
>
> I've tried \setupcaption[table][suffix={(cont'd)] but that affects all the pages. How can I set it for the second and subsequent pages only, please?
The solution turned out to be really simple (for small tables at least - less fun if you have hundreds of pages!). Just use:
\defineconversion[Contd][~,{ (cont’d)},{ (cont’d)},{ (cont’d)},{ (cont’d)},{ (cont’d)},
{ (cont’d)},{ (cont’d)},{ (cont’d)},{ (cont’d)},{ (cont’d)},
{ (cont’d)},{ (cont’d)},{ (cont’d)},{ (cont’d)},{ (cont’d)},
{ (cont’d)},{ (cont’d)},{ (cont’d)},{ (cont’d)},{ (cont’d)} ]
\setupfloatsplitting[conversion=Contd]
This results in "Table 1 My Long table", "Table 1 (cont’d) My Long table" and so on.
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2022-08-13 8:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-02 23:26 Bruce Horrocks via ntg-context
2022-08-13 8:35 ` Bruce Horrocks via ntg-context [this message]
2022-08-13 8:45 ` Wolfgang Schuster via ntg-context
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=99F9271D-AEB2-4DBF-9FE0-EF5823705B47@scorecrow.com \
--to=ntg-context@ntg.nl \
--cc=ntg@scorecrow.com \
/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).