[NTG-context] bug in widows and orphans prevention?

Pablo Rodriguez oinos at gmx.es
Tue Aug 23 20:35:11 CEST 2016


Dear list,

I have the following sample:

    \showframe\showgrid
    \startsetups[orphanwidow]
        \setup[reset]
        \widowpenalty=10000
        \clubpenalty=10000
        \brokenpenalty=1
    \stopsetups
    \setuplayout[setups={orphanwidow}]
    \setupbodyfont[12.5pt]
    %~ \setupbodyfont[pagella]
    \starttext
    \dorecurse{10}{\input zapf\par}
    \stoptext

With both typefaces (Latin Modern at 12.5pt and TeX Gyre Pagella at
12pt), I get an orphan line on the second page.

Have I hit a bug or am I missing something?

BTW, I’m using latest beta from 2016.08.23 11:14. My platform is linux
(32bit) and LuaTeX is 0.98.1.

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list