ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: bug? gap appears in columnset
Date: Tue, 17 Sep 2013 16:47:58 +0200	[thread overview]
Message-ID: <52386B9E.2010008@wxs.nl> (raw)
In-Reply-To: <52377820.1000803@sil.org>

On 9/16/2013 11:29 PM, Lars Huttar wrote:
> I was advised to report the bug back to this list, with an even more
> minimized example.
> Here it is below.
> This bug occurs in both mkiv and mkii, in the latest versions (current
> beta).
>
> |\setupinterlinespace[line=12pt]
>
> \definecolumnset[columnset1][n=2]
> \setupcolumnset[columnset1][distance=5mm,balance=yes]
>
> \starttext
>
> \section{Introduction}
> \startcolumnset[columnset1]
>      \dorecurse {7} { \input knuth }
> \stopcolumnset
>
> \section{Bibliography}
> \setupinterlinespace[line=9.3pt]
> \startcolumnset[columnset1]
>      \dorecurse {10} { \input knuth }
> \stopcolumnset
>
> \stoptext
>
>
> Note the gap across both columns on p. 3, about 3/4 of the way down.
> Any suggestions for a workaround would be appreciated.

Just wondering ... do you think that the first pages look ok? You mess 
with the interlinespace in a way that will make the outcome never look 
okay. Also, columnsets assume that the interlinespace is sane.

\setbox0\hbox{Tg}\the\htdp0,\the\baselineskip

gives

10.59601pt,9.3pt

so, any line that has a character with ascender and descender will 
enforce a larger than 9.3pt distance + lineskip and mess up any 
prediction cq. heuristics

Hans

-- 

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


  parent reply	other threads:[~2013-09-17 14:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13 20:07 Lars Huttar
2013-09-13 20:20 ` Lars Huttar
2013-09-16 18:29   ` Lars Huttar
2013-09-16 21:29     ` Lars Huttar
2013-09-16 22:32       ` Aditya Mahajan
2013-09-17 14:47       ` Hans Hagen [this message]
2013-09-17 15:02       ` Lars Huttar
2013-09-17 15:31         ` Hans Hagen
2013-09-17 18:57         ` Lars Huttar
2013-09-17 20:02           ` Hans Hagen
2013-09-18 21:47           ` Lars Huttar
2013-09-18 23:22             ` Hans Hagen
2013-09-19 14:25             ` Lars Huttar
2013-09-19 15:19               ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52386B9E.2010008@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).