ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Paragraph or item goes on a new page along with section (MkIV only)
@ 2010-07-22 15:14 Vedran Miletić
  2010-07-22 15:32 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Vedran Miletić @ 2010-07-22 15:14 UTC (permalink / raw)
  To: NTG-ConTeXt mailing list

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ć
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Paragraph or item goes on a new page along with section (MkIV only)
  2010-07-22 15:14 Paragraph or item goes on a new page along with section (MkIV only) Vedran Miletić
@ 2010-07-22 15:32 ` Hans Hagen
  2010-07-22 16:33   ` Peter Münster
  2010-07-28 12:32   ` Vedran Miletić
  0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2010-07-22 15:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

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

* Re: Paragraph or item goes on a new page along with section (MkIV only)
  2010-07-22 15:32 ` Hans Hagen
@ 2010-07-22 16:33   ` Peter Münster
  2010-07-28 12:32   ` Vedran Miletić
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Münster @ 2010-07-22 16:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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/


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


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

* Re: Paragraph or item goes on a new page along with section (MkIV only)
  2010-07-22 15:32 ` Hans Hagen
  2010-07-22 16:33   ` Peter Münster
@ 2010-07-28 12:32   ` Vedran Miletić
  2010-07-28 17:41     ` Peter Münster
  1 sibling, 1 reply; 5+ messages in thread
From: Vedran Miletić @ 2010-07-28 12:32 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users

Datuma 22. srpnja 2010. 17:32 Hans Hagen <pragma@wxs.nl> je napisao/la:
> 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ć
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: Paragraph or item goes on a new page along with section (MkIV only)
  2010-07-28 12:32   ` Vedran Miletić
@ 2010-07-28 17:41     ` Peter Münster
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Münster @ 2010-07-28 17:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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/


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

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

end of thread, other threads:[~2010-07-28 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 15:14 Paragraph or item goes on a new page along with section (MkIV only) Vedran Miletić
2010-07-22 15:32 ` Hans Hagen
2010-07-22 16:33   ` Peter Münster
2010-07-28 12:32   ` Vedran Miletić
2010-07-28 17:41     ` 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).