[NTG-context] Bug: Columnar itemized text

2014-03-06 Thread Thangalin
Hi,

I believe I have isolated the problem:

\starttext
  balance
  \startmixedcolumns[balance=yes,]
\dorecurse{8}{\input{ward}}
  \stopmixedcolumns
  %\page

  strut
  \startmixedcolumns[grid=strut,]
\dorecurse{4}{\input{knuth}}
  \stopmixedcolumns
\stoptext

When balanced mixedcolumns are followed by mixedcolumns using a strut
grid, then the content of the second mixedcolumns will extend into the
footer area on the next page. However, if the content of the strut
grid mixedcolumns is long enough to incur a page break on that next
page, then no content spills into the footer.

How can I help fix this?
___
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
___


Re: [NTG-context] Bug: Columnar itemized text

2014-03-06 Thread Hans Hagen

On 3/6/2014 11:46 AM, Thangalin wrote:

Hi,

I believe I have isolated the problem:

\starttext
   balance
   \startmixedcolumns[balance=yes,]
 \dorecurse{8}{\input{ward}}
   \stopmixedcolumns
   %\page

   strut
   \startmixedcolumns[grid=strut,]
 \dorecurse{4}{\input{knuth}}
   \stopmixedcolumns
\stoptext

When balanced mixedcolumns are followed by mixedcolumns using a strut
grid, then the content of the second mixedcolumns will extend into the
footer area on the next page. However, if the content of the strut
grid mixedcolumns is long enough to incur a page break on that next
page, then no content spills into the footer.

How can I help fix this?


can you experiment with this:

\unprotect

\setvalue{\??mixedcolumnsstop\s!otr}%
  {\par
   \ifcase\c_page_mix_otr_nesting\or
 \doifelse{\mixedcolumnsparameter\c!balance}\v!yes
   {\c_page_mix_routine\c_page_mix_routine_balance}%
   {\penalty-\plustenthousand}% weird hack, we need to trigger the 
otr sometimes

 \page_otr_trigger_output_routine
   \fi}

\protect

(put it in cont-new.mkiv)

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


Re: [NTG-context] Bug: Columnar itemized text

2014-03-06 Thread Thangalin
Fixed.

Thank you!
___
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
___