ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ed L Cashin <ecashin@coe.uga.edu>
Cc: ntg-context@ntg.nl
Subject: multi-column spread control (was Re: beginner's questions)
Date: 13 Nov 2000 11:54:58 -0500	[thread overview]
Message-ID: <m3pujz7qxp.fsf@coe.uga.edu> (raw)
In-Reply-To: <3.0.6.32.20001113103749.01cafc00@pop.wxs.nl>

Hans Hagen <pragma@wxs.nl> writes:

...
> As an example, i just implemented, willy egger may like that, multi
> column spread control, with page imposition support for figures or
> whatever spanning a page and so. Now this is no easy topic and will
> never be, even if i write 500 pages about it. -)

By multi-column spread control do you mean the ability to have
balanced columns?

There is an issue in one of the documents that my employer wants me to
do (but they keep pulling me off the job) where there is a series of
vboxes in a two-column page.

In order for the columns to balance (i.e. have the baselines of their
bottom lines line up perfectly) the glue between the vboxes has to be
balanced in a sophisticated way.  

It's been a while since I've worked on it, but here's an example:

\setupbodyfont	[9pt]
\setupcolumns	[balance=yes]
\showmakeup

\def\myText{Maggie comes fleet foot
   	    face full of black soot
   	    talkin' that the heat put
   	    plants in the bed but
   	    the phone's tapped anyway
   	    Maggie says that many say
   	    they must bust in early May ---
   	    orders from the D. A.}
% plenty of stretch
\def\interGlue{\vskip 1ex plus 4cm minus .1ex}

\starttext
\startcolumns[n=2]
\dorecurse{7}{\vbox{\myText}\interGlue}
\stopcolumns

\blank[2*big]

\startcolumns[n=3]
\dorecurse{7}{\vbox{\myText}\interGlue}
\stopcolumns

\stoptext

... since there's lots of stretchability in the interGlue, and the
columns are set to balance, I'd expect the glue between the boxes to
stretch such that the columns were balanced.  

I know that this is a hard problem, and so I'm just wondering if
that's what you meant by spread control.

-- 
--Ed Cashin                     PGP public key:
  ecashin@coe.uga.edu           http://www.coe.uga.edu/~ecashin/pgp/


  reply	other threads:[~2000-11-13 16:54 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-09 16:51 beginner's questions Wouter Verheijen
2000-11-09 17:20 ` Frans Goddijn
2000-11-09 17:54   ` Hans Hagen
2000-11-09 17:40 ` Hans Hagen
2000-11-09 19:25   ` Ed L Cashin
2000-11-11 17:34     ` siepo
2000-11-11 17:56       ` Frans Goddijn
2000-11-24 12:51         ` Christopher Tipper
2000-11-11 19:41       ` Berend de Boer
2000-11-12 11:34         ` siepo
2000-11-12 18:56           ` Denis B. Roegel
2000-11-13  9:37             ` Hans Hagen
2000-11-13 16:54               ` Ed L Cashin [this message]
2000-11-13 17:17                 ` multi-column spread control (was Re: beginner's questions) Hans Hagen
2000-11-13 18:43                   ` Ed L Cashin
2000-11-13 18:44                   ` Ed L Cashin
2000-11-14  7:49                     ` Hans Hagen
2000-11-14 13:27                       ` Ed L Cashin
2000-11-14 14:13                         ` Hans Hagen
2000-11-14 14:49                           ` Ed L Cashin
2000-11-14 15:49                             ` Hans Hagen
2000-11-14 16:45                               ` Ed L Cashin
2000-11-14 17:12                                 ` Hans Hagen
2000-11-14 18:25                                   ` Ed L Cashin
2000-11-15  0:23                                     ` Hans Hagen
2000-11-15  1:15                                       ` Ed L Cashin
2000-11-15 17:20                                         ` voting & form design (was: multi-column spread control) Hraban
2000-11-14 21:51                                   ` multi-column spread control (was Re: beginner's questions) Denis B. Roegel
2000-11-15  0:20                                     ` Hans Hagen
2000-11-15 23:28                                       ` Denis B. Roegel
2000-11-19 19:31                                         ` Hans Hagen
2000-11-12 14:04         ` Documentation Tasks (was: " Hraban
2000-11-13  7:38       ` beginner's questions Hans Hagen
2000-11-13 21:26         ` siepo
2000-11-09 19:19 ` Berend de Boer
     [not found] <Hans Hagen's message of "Tue, 14 Nov 2000 18:12:11 +0100">
     [not found] ` <Hans Hagen's message of "Tue, 14 Nov 2000 16:49:12 +0100">
     [not found]   ` <Hans Hagen's message of "Tue, 14 Nov 2000 15:13:29 +0100">
     [not found]     ` <Hans Hagen's message of "Tue, 14 Nov 2000 08:49:03 +0100">

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=m3pujz7qxp.fsf@coe.uga.edu \
    --to=ecashin@coe.uga.edu \
    --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).