ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de>
To: ntg-context@ntg.nl
Subject: column breaks and TABLE
Date: Mon, 15 Nov 2010 02:45:24 +0100	[thread overview]
Message-ID: <20101115014524.GA2539@aides> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1343 bytes --]

Hi all,

with natural tables I can’t seem to get column breaks right.
Example:

··8<·····························································

\setuppapersize[A5][A5]
\definecolumnset[three][n=3]

\starttext
\startcolumnset[three]
\dorecurse{5}{
  \subject{Test nr. \recurselevel}
  Some paragraph.\par
  \penalty10000 % comment me to get even footer; well, sort of …
  \bTABLE[split=yes]
  \bTABLEbody
    \dorecurse{80}{
      \bTR\bTC Nr.\eTC\bTC\recurselevel\eTC\eTR
    }
  \eTABLEbody
  \eTABLE
  Text after.\par\column
}
\stopcolumnset
\stoptext

··8<·····························································

The crude prevention of a column break before the table appears
to cause the first column to extend into the footer. However,
without the ‘\penalty’ the table will always appear on a new
column -- not looking well if there’s not much to typeset besides
the table itself.

Is there a way to get the best of both worlds: an even footer
without a break before the table?

I’d be grateful for any hints or suggestions, Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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-11-15  1:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20101115014524.GA2539@aides \
    --to=pgesang@ix.urz.uni-heidelberg.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).