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.