From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3339 Path: main.gmane.org!not-for-mail From: Ed L Cashin Newsgroups: gmane.comp.tex.context Subject: Re: multi-column spread control (was Re: beginner's questions) Date: 14 Nov 2000 11:45:54 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: References: <20001112113730.1EF2A2317E@client44-3.kabela.oprit.rug.nl> <3.0.6.32.20001113103749.01cafc00@pop.wxs.nl> <3.0.6.32.20001113181723.015ed100@pop.wxs.nl> <3.0.6.32.20001114084903.01544100@pop.wxs.nl> <3.0.6.32.20001114151329.01870250@pop.wxs.nl> <3.0.6.32.20001114164912.01ae3ab0@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035394076 16149 80.91.224.250 (23 Oct 2002 17:27:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:27:56 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Hans Hagen In-Reply-To: Hans Hagen's message of "Tue, 14 Nov 2000 16:49:12 +0100" Xref: main.gmane.org gmane.comp.tex.context:3339 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3339 Hans Hagen writes: > At 09:49 AM 11/14/00 -0500, Ed L Cashin wrote: ... > >Is that the kind of problem it is? > > Right, something > > \newdimen\naturalvsize \naturalvsize=10cm > > \vsize=2\naturalvsize > \hsize=10cm > > \def\Split% > {\setbox0=\vsplit255 to \naturalvsize \setbox0=\vbox to > \naturalvsize{\unvbox0} % left column > \setbox2=\vsplit255 to \naturalvsize \setbox2=\vbox to > \naturalvsize{\unvbox2} % right column > \shipout{\hbox{\box0\hskip1em\box2} % page > \unvbox255 } % leftovers > > \output{\Split} > > plus compensations plus test plus balancing plus nightmares I reviewed vsplit in the TeXbook, and it looks like by getting very fancy with low-level glues and penalties (like the fancy index example, "Paragraph Manuvers", number seven in Appendix D., but vertically instead of horizontally) one could control exactly how the columns balanced. But for a macropackage author like yourself, that would mean breaking open the box255 and changing the vertical glue between the elements. Maybe that's the kind of compensation and nightmare you're talking about? It's too bad there's not an easier way to do perfectly balanced columns with metapost. ;) -- --Ed Cashin PGP public key: ecashin@coe.uga.edu http://www.coe.uga.edu/~ecashin/pgp/