ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: barney schwartz <barndog1946@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Hans Hagen <pragma@wxs.nl>
Subject: Re: Is there a way to split TABLE and TABLE caption for longtables
Date: Thu, 16 Dec 2010 09:29:24 +0100	[thread overview]
Message-ID: <8022FC0C-6AB8-4224-9FD3-32B93F46FFFB@gmail.com> (raw)
In-Reply-To: <AANLkTinZDduwW8RTNMHqoz=X0NMse8bXg4daZqMZbSt7@mail.gmail.com>


Am 14.12.2010 um 10:00 schrieb barney schwartz:

> Group, Hans. Wolfgang, Help PLEASE
>  
> I have numerous loooooong tables to publish. attached find minimal example.
>  
> I need these tables to mimic \longtables LaTeX package.
>  
> I got a recode from Wolfgang using the TABLE module which works well for the header, footer and TABLEbody however:
>  
> I need table caption and tablefoot to state:
>  
> table xxxxxx (continue)
>  
> Also it would be perfect if the top of the continued page(s) were open and the footer for the continued page(s) said:
>  
> table xxxxxxx (continued)
>  
> Is there a way to accomplishe this feat of magic within ConTeXt?

MkII provided subnumbers for splitted tables, this function is not yet rewritten
for MkIV but because Hans hasn’t needed it so far. Although you provided a example
it wasn’t minimal enough for a test.

Here is a minimal example for Hans, which shows correct numbering for split tables
which is currently wrong for MkIV:

\setuppapersize[A7][A7]

\starttext

\placetable
  [split]
  {Test 1}
  {\bTABLE
   \dorecurse{20}{\bTR\bTD #1 \eTD\eTR}
   \eTABLE}

\placetable
  {Test 2}
  {\bTABLE
   \bTR\bTD 1 \eTD\eTR
   \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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2010-12-16  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14  9:00 barney schwartz
2010-12-16  8:29 ` Wolfgang Schuster [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=8022FC0C-6AB8-4224-9FD3-32B93F46FFFB@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=barndog1946@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).