Paragraph or item goes on a new page along with section (MkIV only)
Consider the following code: \setuphead[section][style={\tfd}] \starttext \section{bla bla} \dorecurse{4}{\input tufte} This is just some text that shows what happens. \section{bla bla bla} \input tufte \stoptext In MkII, "This is just some text that shows what happens." goes on the first page (which makes sense), while in MkIV it goes on second just before section name. Itemize behaves in similar way, if it is used just before section, last item in the itemization list goes on second page. A bug? -- Vedran Miletić
On 22-7-2010 5:14, Vedran Miletić wrote:
Consider the following code:
\setuphead[section][style={\tfd}]
\starttext
\section{bla bla}
\dorecurse{4}{\input tufte}
This is just some text that shows what happens.
\section{bla bla bla}
\input tufte
\stoptext
In MkII, "This is just some text that shows what happens." goes on the first page (which makes sense), while in MkIV it goes on second just before section name.
Itemize behaves in similar way, if it is used just before section, last item in the itemization list goes on second page.
A bug?
just in the process of optimizing it ... you can run some tests with \let\dopreventbreakafterstructureheadauto\relax and see if heads end up along at the bottom ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thu, Jul 22 2010, Hans Hagen wrote:
just in the process of optimizing it ...
Great Hans! You will then update the tracker item http://tracker.luatex.org/view.php?id=389 ? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
Datuma 22. srpnja 2010. 17:32 Hans Hagen
just in the process of optimizing it ... you can run some tests with
\let\dopreventbreakafterstructureheadauto\relax
and see if heads end up along at the bottom
It seems you fixed it, at least in MTXrun | current version: 2010.07.27 16:30 it works fine. Thanks! -- Vedran Miletić
On Wed, Jul 28 2010, Vedran Miletić wrote:
just in the process of optimizing it ... you can run some tests with
\let\dopreventbreakafterstructureheadauto\relax
and see if heads end up along at the bottom
It seems you fixed it, at least in MTXrun | current version: 2010.07.27 16:30 it works fine.
Indeed, great! So you can perhaps close http://tracker.luatex.org/view.php?id=389 now, Hans. Thanks, Peter -- Contact information: http://pmrb.free.fr/contact/
participants (3)
-
Hans Hagen
-
Peter Münster
-
Vedran Miletić