ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \synchronizeoutput does not help here...
@ 2006-04-19 16:52 Peter Münster
  2006-04-19 18:00 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2006-04-19 16:52 UTC (permalink / raw)


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

-- 
http://pmrb.free.fr/contact/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \synchronizeoutput does not help here...
  2006-04-19 16:52 \synchronizeoutput does not help here Peter Münster
@ 2006-04-19 18:00 ` Hans Hagen
  2006-04-20 15:55   ` Peter Münster
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-04-19 18:00 UTC (permalink / raw)


� 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \synchronizeoutput does not help here...
  2006-04-19 18:00 ` Hans Hagen
@ 2006-04-20 15:55   ` Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2006-04-20 15:55 UTC (permalink / raw)


On Wed, 19 Apr 2006, Hans Hagen wrote:

> > \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
> >   
> 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

This does not work...

> before the table, which triggers the otr
> 
> or say:
> 
> \setuphead[section][before={\testpage[10]\blank}]

Thanks for your fast answer, this works very well!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-20 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-19 16:52 \synchronizeoutput does not help here Peter Münster
2006-04-19 18:00 ` Hans Hagen
2006-04-20 15:55   ` Peter Münster

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).