ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: \synchronizeoutput does not help here...
Date: Wed, 19 Apr 2006 20:00:58 +0200	[thread overview]
Message-ID: <44467ADA.6050605@wxs.nl> (raw)
In-Reply-To: <Pine.LNX.4.58.0604191848070.32204@gaston.pm>

� wrote:
> Hello,
> unfortunately, \synchronizeoutput does not help here.
>
> I also tried things like "\placetable[bottom]" but no luck...
>
> Could you help?
>
> \starttext
> \section{bla}
> \subsection{bla}
> \startitemize
> \dorecurse{21}{\item bla}
> \stopitemize
> \placetable{a table}{\vbox to 8cm{bla}}
>
> \section{bla}
> \subsection{bla}
> \synchronizeoutput % this does not help here...
> \bTABLE[split=repeat]
> \bTABLEhead\bTR\bTH bla\eTH\eTR\eTABLEhead
> \bTABLEbody\dorecurse{100}{\bTR\bTD bla\eTD\eTR}\eTABLEbody
> \eTABLE
> \stoptext
>
> Cheers, Peter
>
>   
it's a boundary case: when the subsection is placed, the pagetotal is 
pretty large because the previous page is not yet flushed, so ther eis 
no room for a table piece

you can put something

  \strut \vskip-\lineheight \nobreak

before the table, which triggers the otr

or say:

\setuphead[section][before={\testpage[10]\blank}]

which also does some testing (force page break when less that 10 lines) 
and is cleaner

-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-04-19 18:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-19 16:52 Peter Münster
2006-04-19 18:00 ` Hans Hagen [this message]
2006-04-20 15:55   ` Peter Münster

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=44467ADA.6050605@wxs.nl \
    --to=pragma@wxs.nl \
    --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).