[NTG-context] issues with list items

Hans Hagen pragma at wxs.nl
Wed Jun 25 22:06:47 CEST 2014


On 6/25/2014 8:56 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample (compiled
> http://www.ousia.tk/list-items.pdf#page=1):
>
>      \showframe\showgrid
>      \setupbodyfont[pagella,15pt]
>      \starttext
>      \chapter{Chapter title}
>      \section{Section title}
>      \dorecurse{11}{\dorecurse{10}{Sentence. }\par}
>
>      \startitemize
>      \dorecurse{2}{\item This is an item.}
>
>      \item This is an item\footnote{This is a footnote.}.
>      \stopitemize
>
>      \dorecurse{50}{These are other sentences. }
>      \stoptext
>
> The footnote moves the whole list to the second page. If I remove the
> footnote and not the item, the whole list fits in the first page
> (http://www.ousia.tk/list-items.pdf#page=3).
>
> Sorry, but as far as I can understand, I’m afraid this is a bug.
>
> ConTeXt is handling list items themselves with widows and orphan rules.
> Not the lines they contain, but the items themselves.
>
> I understand that ConTeXt avoids widow and orphan lines within list
> items. But it makes no sense (at least, to me) to avoid widow and orphan
> list items.
>
> Could someone confirm the bug or explain me what I’m missing?

the

[loose]

option

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