From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98438 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: confusing columns balancing results Date: Fri, 14 Jul 2017 11:28:19 -0400 Message-ID: <411ddb65-c395-ba5f-a760-e30886bdc6a7@rik.users.panix.com> References: <8DC36222-459D-4562-9B89-8F9F079DFF6D@klankschap.nl> <3679490E-A1F5-4658-80B8-7D6F834AD2A0@klankschap.nl> <1499990749.11851.21.camel@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3453289253707449422==" X-Trace: blaine.gmane.org 1500046127 19149 195.159.176.226 (14 Jul 2017 15:28:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Jul 2017 15:28:47 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 14 17:28:42 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dW2WE-0004Z1-U4 for gctc-ntg-context-518@m.gmane.org; Fri, 14 Jul 2017 17:28:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E40BB104947; Fri, 14 Jul 2017 17:28:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yy4IobXMn_um; Fri, 14 Jul 2017 17:28:36 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 17AEF10492E; Fri, 14 Jul 2017 17:28:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 28A9D10492E for ; Fri, 14 Jul 2017 17:28:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1VJSqXLRn3Ry for ; Fri, 14 Jul 2017 17:28:34 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 49CE5104848 for ; Fri, 14 Jul 2017 17:28:24 +0200 (CEST) Original-Received: from [192.168.201.10] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id B90501011A for ; Fri, 14 Jul 2017 11:28:22 -0400 (EDT) In-Reply-To: <1499990749.11851.21.camel@gmail.com> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:98438 Archived-At: This is a multi-part message in MIME format. --===============3453289253707449422== Content-Type: multipart/alternative; boundary="------------3E762EEAA804EB2DC8577A83" Content-Language: en-US This is a multi-part message in MIME format. --------------3E762EEAA804EB2DC8577A83 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------3E762EEAA804EB2DC8577A83 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
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
--------------3E762EEAA804EB2DC8577A83-- --===============3453289253707449422== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============3453289253707449422==--