ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lars Huttar <lars_huttar@sil.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bug? gap appears in columnset
Date: Fri, 13 Sep 2013 16:20:42 -0400	[thread overview]
Message-ID: <5233739A.2010308@sil.org> (raw)
In-Reply-To: <52337079.6020509@sil.org>

It should also be mentioned that we need the second section to have a
tighter line spacing than the first, but despite the

\setupinterlinespace[line=9.3pt]

command, and despite the red grid lines being tighter, the text itself
seems to have the same interline spacing as in the first section. How do
we actually change the interline spacing?

Thanks again.

Lars

On 9/13/2013 4:07 PM, Lars Huttar wrote:
> Hello,
> We have a document where a gap occurs in a columnset under certain
> conditions.
> It seems to be a confluence of:
>
> - 2 sections, each with 2-column columnsets
> - \page[empty] between them
> - the 2nd section has a tighter interline space
>
> The problem is that on the first page of the second section, a two-line
> gap appears where gridlines 50 and 51 are.
>
> It may be a coincidence, but 50 is also the number of lines per page in
> the first section. We've found that "coincidence" to be true even with
> different page and font sizes.
>
> Can anyone tell us a way to get rid of the gap? We've tried things like
>   \setupcolumnsetlines[columnsetbibliography][1][1][-1]
>   \setupcolumnsetlines[columnsetbibliography][1][2][-1]
> with various values for the last parameter, but nothing helps.
>
> Below is a small, self-contained sample.
>
> Thanks for any help you can give.
> Lars
>
> Version information:
> This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
> (format=cont-en 2012.11.14)  13 SEP 2013 11:38
> ConTeXt  ver: 2012.05.30 11:26 MKII  fmt: 2012.11.14  int: english/english
>
>
> \showgrid
> \setupinterlinespace[line=12pt]
> \setuplayout[grid=yes]
>
> \definecolumnset[columnsetIntroduction0][n=2]
> \setupcolumnset[columnsetIntroduction0][distance=5mm,balance=yes]
>
> \definecolumnset[columnsetbibliography][n=2]
> \setupcolumnset[columnsetbibliography][distance=5mm,balance=yes]
>
> \starttext
>
> \section{Introduction}
>
> \startcolumnset[columnsetIntroduction0]
>         % The important thing here is how many columns of text we have.
>         \dorecurse {7} { \input knuth }
> \stopcolumnset
>
> \page[yes] % Always finish the current page
>     % If we haven't ended up on an odd page, generate an empty one.
> \ifodd \pageno \else \page[empty] \fi
>
> \section{Bibliography}
> \setupinterlinespace[line=9.3pt]
>
> \startcolumnset[columnsetbibliography]
> \dorecurse {140} { \input knuth\par }
> \stopcolumnset
>
> \stoptext
>
>

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


  reply	other threads:[~2013-09-13 20:20 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 [this message]
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
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=5233739A.2010308@sil.org \
    --to=lars_huttar@sil.org \
    --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).