From: Hans Hagen <pragma@wxs.nl>
Subject: Re: column balancing question
Date: Wed, 08 Sep 2004 10:58:28 +0200 [thread overview]
Message-ID: <413EC9B4.4020708@wxs.nl> (raw)
In-Reply-To: <413ECCDF.2000908@econ.muni.cz>
Michal Kvasnicka wrote:
> Good morning.
>
> One reason for me to switch to ConTeXt were its macros for typesetting
> in columns that are highly superior to any such macro I have ever
> seen. (I typeset almost all my documnts in two columns.) But I am not
> able to supress one strange feature: some pages are one more line
> longer than they should be. It happen randomly -- or at least I was
> not able to find out when it happens. Therefore I'm not able to
> prepare an minimal file. I thougth that setting
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
-----------------------------------------------------------------
next prev parent reply other threads:[~2004-09-08 8:58 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 [this message]
2004-09-09 15:13 ` Michal Kvasnicka
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=413EC9B4.4020708@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).