ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michal Kvasnicka <quasar@econ.muni.cz>
Subject: Re: column balancing question
Date: Thu, 09 Sep 2004 15:13:01 +0000	[thread overview]
Message-ID: <414072FD.1040207@econ.muni.cz> (raw)
In-Reply-To: <413EC9B4.4020708@wxs.nl>

Good evening.

Many thanks for your help. Your solution works well with the newest 
ConTeXt and one particular document I now typeset. I have to check it 
still with more documents. Do you want to gen a report from these tests?

If you want I can send you many examples, but not `minimal files', since 
I don't know when the problem occures. As I typeset our church bulletin, 
I've got that result pretty often---approximately on one third or one 
fourth of all pages.

I can't switch to columnset all my documents. Columnsets are absolutely 
great (one of the ConTeXt miracle---I thought it is not possible to do 
it in TeX because of its breaking routines), but up-to-now columnsets 
cannot be ballanced (or can they?), and my church bulletin is typset in 
such a way that each article can start anywhere on the page, and the 
columns must be ballanced before it. I can't explain it better because 
of my English, but its pages look like this:

    xxxxx   xxxxx
    xxxxx   xxxxx
    xxxxx   xxxxx
    xxxxx   xxxxx

    Title of article
    xxxxx   xxxxx
    xxxxx   xxxxx

Therefore I would lobby for the support of the old \startcolumns ... 
\stopcolumns environment. :-)

As for the Willi Egger's question, I don't use `fit' options very often. 
The problem I've mentioned in my last mail occures even when the `width' 
is set to some dimen and the `length' of page is set to some number of 
lines.

Many greetings and thanks again.
Your sincerely
Michal Kvasnicka

> Hard to see without example. You may try this (i have this in my local 
> expermental setup)
> \def\getmulticolumnlines
>  {\mcscratchdimen-\columntextoffset
>   \multiply\mcscratchdimen \plustwo
>   \advance\mcscratchdimen \columntextheight
>   \ifdim\precolumnboxheight>\zeropoint
>      \advance\mcscratchdimen -\precolumnboxheight
>   \fi
>   \settotalinsertionheight
>   \advance\mcscratchdimen -\totalinsertionheight
>   \getnoflines\mcscratchdimen
>   % added 30/7/2004
>   \ifnum\layoutlines>\zerocount \ifnum\noflines>\layoutlines
>     \noflines\layoutlines
>   \fi \fi
>   \nofcolumnlines\noflines}
>
> Another option is to switch to column sets (see columns.pdf),
> Hans
>
>
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2004-09-09 15:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-08  9:11 Michal Kvasnicka
2004-09-08  8:58 ` Hans Hagen
2004-09-09 15:13   ` Michal Kvasnicka [this message]
2004-09-09 13:54     ` Hans Hagen
2004-09-08 19:19 ` Willi Egger
2004-09-08 19:48   ` map problems Boris Tschirschwitz
2004-09-09 13:43     ` Boris Tschirschwitz
2004-09-09 12:49   ` alpha version Martin Kolařík

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=414072FD.1040207@econ.muni.cz \
    --to=quasar@econ.muni.cz \
    --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).