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: Re: multi-column spread control (was Re: beginner's questions)
Date: 14 Nov 2000 09:49:39 -0500	[thread overview]
Message-ID: <m3itpq4ni4.fsf@coe.uga.edu> (raw)
In-Reply-To: Hans Hagen's message of "Tue, 14 Nov 2000 15:13:29 +0100"

Hans Hagen <pragma@wxs.nl> writes:

> Kind of, either by multiple output per page or by making a page n times as
> high as possible and then splitting. A painful programming process,
> especially if you want spacing okey. 
> 
> \input tufte 
> 
> \startcolumns
> \input tufte 
> \stopcolumns 
> 
> \input tufte 
> 
> is far from trivial.

Yes, I remember you saying that.  Is the problem with balancing
columns something like this:

given a sequence of vboxes and vglue with infinite stretchability,
arrange the little vboxes into two big vboxes such that ...

        - the two big vboxes have equal height

        - the following distance must be the same for the two big
          vboxes: the distance from the top of the big vbox to the
          bottom of the last little vbox in the big vbox

So the trick is to do something like what tex does with pagination,
but I don't know what that is ... maybe ...

        put as many little vboxes into big vbox 1 as will fit

        discard glue after the last little vbox in big vbox 1

        put as many little vboxes into big vbox 2 as will fit

        discard glue after the last little vbox in big vbox 2

        evaluate for penalty and re-try if necessary

The glue between the little vboxes in each big vbox will expand, and
the bottoms of the columns (big vboxes) will certainly align.

Is that the kind of problem it is?

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


  reply	other threads:[~2000-11-14 14:49 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               ` multi-column spread control (was Re: beginner's questions) Ed L Cashin
2000-11-13 17:17                 ` 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 [this message]
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=m3itpq4ni4.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).