Vit Zyka wrote:
Hans Hagen wrote:
Vit Zyka wrote
- each chapter head spans two columns (it assumes stop columns, balancing, continuing on the same page without pagebreak, put chapter head, start columnset on the rest of the page)
you can do that with 'manual balancing'
Thank you, Hans, for your reply.
I know that with such a complex layout manual adjustment is necessary. I know about manual balancing. But how to avoid page break after columnset closing?
It is feasible or I will have to abjured this idea?
the problem with automated balancing in this model is that it's near to impossible (never say never with tex, but its definitely messsy code) to combine this with the advanced float and area placement features; so, your flow will be:
- typeset article - determine balance requirements - setup balancing - retypeset article - continue on same page
That is the point. How? % output=pdftex interface=en
\setuplayout[grid=yes] \showgrid \showstruts % gaat nogal fout zonder grid \setuptolerance[verytolerant] \definecolumnset [test-1] [n=2] \definecolumnset [test-2] [n=3] \starttext \startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset \startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset \page \setupcolumnset [test-1] [balance=yes] \setupcolumnset [test-2] [balance=top] \setupcolumnsetlines[test-1][1][1] [8] \setupcolumnsetlines[test-1][1][2][10] \startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset \startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset \page \setupcolumnsetlines[test-1][1][1] [8] \setupcolumnsetlines[test-1][1][2][10] \setupcolumnsetlines[test-2][1][1][19] \setupcolumnsetlines[test-2][1][2][18] \setupcolumnsetlines[test-2][1][3][19] \startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset \startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset \page \setupcolumnsetlines[test-1][1][1] [8] \setupcolumnsetlines[test-1][1][2][10] \setupcolumnsetlines[test-2][1][1][0] \setupcolumnsetlines[test-2][1][2][-2] \setupcolumnsetlines[test-2][1][3][0] \startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset \startcolumnset [test-2] \dorecurse {6}{\input ward \par} \stopcolumnset \page \setupcolumnsetlines[test-1][1][1] [8] \setupcolumnsetlines[test-1][1][2][10] \setupcolumnsetstart[test-2][1][1][20] \setupcolumnsetstart[test-2][1][2][20] \setupcolumnsetstart[test-2][1][3][20] \startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset \startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset \page \setupcolumnsetlines[test-1][1][1] [8] \setupcolumnsetlines[test-1][1][2][10] \setupcolumnsetlines[test-2][1][1][-20] \setupcolumnsetlines[test-2][1][2][-20] \setupcolumnsetlines[test-2][1][3][-20] \startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset \startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset \stoptext -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------