ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug: Columnar itemized text
@ 2014-03-06 10:46 Thangalin
  2014-03-06 12:44 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Thangalin @ 2014-03-06 10:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Bug: Columnar itemized text
  2014-03-06 10:46 Bug: Columnar itemized text Thangalin
@ 2014-03-06 12:44 ` Hans Hagen
  2014-03-06 19:10   ` Thangalin
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2014-03-06 12:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Bug: Columnar itemized text
  2014-03-06 12:44 ` Hans Hagen
@ 2014-03-06 19:10   ` Thangalin
  0 siblings, 0 replies; 3+ messages in thread
From: Thangalin @ 2014-03-06 19:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2014-03-06 19:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-06 10:46 Bug: Columnar itemized text Thangalin
2014-03-06 12:44 ` Hans Hagen
2014-03-06 19:10   ` Thangalin

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