[NTG-context] bug in latest beta?

Hans Hagen pragma at wxs.nl
Thu May 28 19:10:44 CEST 2015


On 5/27/2015 10:38 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
>      \showframe\showgrid
>      \setuplayout[setups=*lessstrict]
>      \startsetups[*lessstrict]
>          \setup[reset]
>          \widowpenalty=10000
>          \clubpenalty=10000
>          \brokenpenalty=0
>      \stopsetups
>      \setupbodyfont[pagella, 12.6pt]
>      \starttext
>      \chapter{Quotes}
>      \section{Zapf}
>      \dorecurse{4}{\input zapf\par}
>      \subsection{Knuth}
>      \input knuth
>      \stoptext
>
> Compiling it with beta from 2015.03.25 22:13, page break is fine.
>
> But with latest beta from 2015.05.24 12:42 (or even with beta from
> 2015.05.15 11:42 includes a wrong page break. The setups for widow and
> orphan lines move the two last lines to the next page.
>
> Could anyone confirm this bug?

i wonder if it's a bug or just tex's decision ... you can use

\showmakeup[penalty]

and see what penalties get injected

are the linebreaks identical, i.e. same hyphenation?

btw, brokenpenalty 1 gives a different result

Hans

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


More information about the ntg-context mailing list