confusing columns balancing results
When i try to use five balanced columns on a landscape page, i get unexpected results. \setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm, width=277mm, height=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, height=19cm, backspace=1cm, cutspace=0cm, leftmargin=0cm, leftmargindistance=0.4cm, width=fit, rightmargindistance=0cm, rightmargin=0cm] \setuplayout[WithoutMarginnotes] \setuphead[section][ align=normal, style=\tfa\ss, before={\blank}, after={\blank[2pt]}] When using balance=no the page is properly typeset \setupcolumns[ n=5, distance=4mm, balance=no, tolerance=tolerant] When using balance=yes It looks as if the page orientation became portrait mode, as the text disappears at the bottom of the page. \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] Some hints as how to proceed? Thanks .Floris van Manen
On Fri, 2017-07-14 at 01:08 +0200, Floris van Manen wrote:
When i try to use five balanced columns on a landscape page, i get unexpected results.
\setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm, width=277mm, height=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, height=19cm, backspace=1cm, cutspace=0cm, leftmargin=0cm, leftmargindistance=0.4cm, width=fit, rightmargindistance=0cm, rightmargin=0cm] \setuplayout[WithoutMarginnotes]
\setuphead[section][ align=normal, style=\tfa\ss, before={\blank}, after={\blank[2pt]}]
No problems here with latest beta. Post a full MWE which reproduces the problem instead of snippets. \setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm, width=277mm, height=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, height=19cm, backspace=1cm, cutspace=0cm, leftmargin=0cm, leftmargindistance=0.4cm, width=fit, rightmargindistance=0cm, rightmargin=0cm] \setuplayout[WithoutMarginnotes] \setuphead[section][ align=normal, style=\tfa\ss, before={\blank}, after={\blank[2pt]}] \starttext \startcolumns \dorecurse{20}{\input knuth } \stopcolumns \stoptext
When using balance=no the page is properly typeset
\setupcolumns[ n=5, distance=4mm, balance=no, tolerance=tolerant]
When using balance=yes It looks as if the page orientation became portrait mode, as the text disappears at the bottom of the page.
\setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant]
Some hints as how to proceed? Thanks .Floris van Manen
___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
Here too, your example does renders correctly. Now try this: === \setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm, width=277mm, height=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, height=19cm, backspace=1cm, cutspace=0cm, leftmargin=0cm, leftmargindistance=0.4cm, width=fit, rightmargindistance=0cm, rightmargin=0cm] \setuplayout[WithoutMarginnotes] \setuphead[subject][ align=normal, style=\tfa\ss, before={\blank}, after={\blank[2pt]}] \starttext \startcolumns Lorem Ipsum Dolor \blank % {\tfc\ss Lastage Koor} % % \blank[big] % % 7 juli 2017 \blank[20.6mm] {\ss \startitemize[n] \item A la Claire Fontaine \item Sous le ciel de Paris \item Vois Sur Ton Chemin\\ % {\em uit Les Choristes} \item Si la pluie te mouille \item Samson et Dalila \item La Vierge à la Crèche % \item Hiob 2 \item Alt Rhapsodie\\ % {\em J. Brahms\\ % solo Jos} \item Dis, Quand Reviendras-tu? \item Chaque Fois\\ % {\em solo Lia en Rik} \item Caresse sur l’Océan\\ % {\em uit Les Choristes\\ % solo Anne en Jaap} \item Les Feuilles Mortes\\ % {\em solo Carol} \item Toréador\\ % {\em solo Ab en Kees} \stopitemize } \column \subject{1. A la Claire Fontaine} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \subject{2. Sous le Ciel de Paris} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. \subject{3. Vois Sur Ton Chemin} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. \subject{4. Si la Pluie te Mouille} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \subject{5. Samson et Dalila} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \subject{6. La Vierge à la Crèche} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \subject{7. Hiob 2} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. \subject{8. Alt Rhapsodie} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. \subject{9. Dis, Quand Reviendras-tu?} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \subject{10. Chaque Fois} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \subject{11. Caresse} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \subject{12. Les Feuilles Mortes} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. \subject{13. Toréador} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in. \stopcolumns \stoptext ===
On 2017-07-13 20:05, Henri Menke wrote:
On Fri, 2017-07-14 at 01:08 +0200, Floris van Manen wrote:
When i try to use five balanced columns on a landscape page, i get unexpected results.
\setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm, width=277mm, height=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, height=19cm, backspace=1cm, cutspace=0cm, leftmargin=0cm, leftmargindistance=0.4cm, width=fit, rightmargindistance=0cm, rightmargin=0cm] \setuplayout[WithoutMarginnotes]
\setuphead[section][ align=normal, style=\tfa\ss, before={\blank}, after={\blank[2pt]}]
No problems here with latest beta. Post a full MWE which reproduces the problem instead of snippets.
\setuppapersize[A4, landscape] \setupbodyfont[8pt] \language[fr] \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuplayout[ backspace=10mm, width=277mm, height=fit, topspace=10mm, header=0mm, top=0mm, footer=0mm, bottom=0mm] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, height=19cm, backspace=1cm, cutspace=0cm, leftmargin=0cm, leftmargindistance=0.4cm, width=fit, rightmargindistance=0cm, rightmargin=0cm] \setuplayout[WithoutMarginnotes]
\setuphead[section][ align=normal, style=\tfa\ss, before={\blank}, after={\blank[2pt]}]
\starttext
\startcolumns \dorecurse{20}{\input knuth } \stopcolumns
\stoptext
When using balance=no the page is properly typeset
\setupcolumns[ n=5, distance=4mm, balance=no, tolerance=tolerant]
When using balance=yes It looks as if the page orientation became portrait mode, as the text disappears at the bottom of the page.
\setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant]
Some hints as how to proceed? Thanks .Floris van Manen
Henri’s example fails for me in the same way that Floris describes. However, when I remove either or both of the following lines from the first \setuplayout directive, all is well.
header=0mm, footer=0mm, In this example, the complete unnamed layout can simply be removed. It is not clear why Floris has two layouts defined and active. One is stepping on the other. I do not know if the results of applying multiple layouts should be additive like this, or not, but I would think that they should not be. -- Rik
On 14 Jul 2017, at 17:28, Rik Kabel
wrote: Henri’s example fails for me in the same way that Floris describes. However, when I remove either or both of the following lines from the first \setuplayout directive, all is well. header=0mm, footer=0mm,
In this example, the complete unnamed layout can simply be removed.
It is not clear why Floris has two layouts defined and active. One is stepping on the other. I do not know if the results of applying multiple layouts should be additive like this, or not, but I would think that they should not be.
but removing the header=0mm, footer=0mm, will redefine the page surface. What i tried was to specify a margin of 10mm around the text block which has 5 columns. This works only if the column balance is set to no. There is probably a good reason for, but i don’t understand it (yet) What is the correct way to define it? .F \setupcolumns[ n=5, distance=4mm, balance=yes, tolerance=tolerant] \setupfootertexts[][] \setuppagenumber[state=none] \setuppagenumber[state=stop] \definelayout[WithoutMarginnotes][ location={duplex}, grid=no, topspace=1cm, % height=19cm, height=fit, backspace=1cm, cutspace=0cm, leftmargin=0cm, leftmargindistance=0.4cm, width=fit, rightmargindistance=0cm, rightmargin=0cm, header=0mm, top=0mm, footer=0mm, bottom=0mm ] \setuplayout[WithoutMarginnotes]
participants (3)
-
Floris van Manen
-
Henri Menke
-
Rik Kabel