ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Christian" <metan0r@gmx.de>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Splitting natural tables
Date: Wed, 30 Nov 2011 10:47:45 +0100	[thread overview]
Message-ID: <001901ccaf45$1cec8a90$56c59fb0$@gmx.de> (raw)
In-Reply-To: <CF10AED6-B2E4-4739-93D4-C87B0203F074@googlemail.com>

> >>> Hello,
> >>>
> >>> is it still not possible to split a table so that it covers one half
> >>> page an then
> >> another half page?
> >>>
> >>> It is my understanding that splitting moves the table to the next
> >>> page and
> >> then splits it to the following if it gets too long for one entire page.
> >>> Would a "manual split" be possible?
> >>>
> >>> Examle (table is not split, but could be):
> >>>
> >>> \starttext
> >>> \dorecurse{2}{\input knuth }
> >>> \startplacetable[title={My Table}]
> >>
> >> \startplacetable[location=split,title={My table}] … \stopplacetable
> >
> > Thank you Wolfgang!
> > For some reason I thought the option split=yes would trigger
> > splitting…
> 
> The “split=yes” option works only for table which aren’t aren't placed as float
> because this mechanism has to know that it has to break the table into parts
> but then you don’t need the split key for \bTABLE.
> 
> > Now in the sample document I get table 1a and table 1b.
> > In my "real" document I get table 3.2 and table 3.3. Is there a way to
> > influence this? (btw. captions are above the table, if that matters)
> 
> The location of the caption doesn’t matter. The number of the suffix for the
> subtables can be changed but without a example I can’t tell why you get
> different results in your example and in the real document.

My guess: It's because fo thecustom suffix. Example:

\setupcaption[table][location=top]
\setupcaptions[minwidth=\textwidth,width=fit,align=center,headstyle={\ss \tfx},style={\ss \tfx \setupinterlinespace[line=1.4em]},suffix={:},distance=.5em]
\starttext
\startchapter[title=Chapter]
\startsection[title=section]
\dorecurse{2}{\input knuth }
\startplacetable[title={My Table},location=split]
\bTABLE[option=stretch]
	\bTABLEhead
	\bTR
		\bTH C1 \eTH
		\bTH C2 \eTH
	\eTR
	\eTABLEhead
	\bTABLEbody
\dorecurse{20}{\bTR
		\bTD text \eTD
		\bTD text \eTD
	\eTR}
	\eTABLEbody	
\eTABLE
\stopplacetable
\input knuth
\stopsection
\stopchapter
\stoptext

___________________________________________________________________________________
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:[~2011-11-30  9:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-30  1:13 Christian
2011-11-30  6:32 ` Wolfgang Schuster
2011-11-30  9:29   ` Christian
2011-11-30  9:35     ` Wolfgang Schuster
2011-11-30  9:47       ` Christian [this message]
2011-11-30 10:06         ` Wolfgang Schuster
2011-11-30 10:13           ` Christian
2011-11-30 10:27             ` Christian
2011-11-30 12:59           ` Hans Hagen
2011-11-30 17:15             ` Christian
2011-11-30 22:09               ` Wolfgang Schuster

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='001901ccaf45$1cec8a90$56c59fb0$@gmx.de' \
    --to=metan0r@gmx.de \
    --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).