From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41131 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: frames and columns Date: Tue, 20 May 2008 10:01:09 -0400 (EDT) Message-ID: References: <4BE49082-3775-45FE-8FFD-7B95263BA88B@science.uva.nl> <115224fb0805192316g7b0eb7ccg2aae00c4a02520e2@mail.gmail.com> <115224fb0805200628r74c040a0r85295213c1635b9d@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1211292045 27316 80.91.229.12 (20 May 2008 14:00:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 May 2008 14:00:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue May 20 16:01:20 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JySOR-0004Lu-CY for gctc-ntg-context-518@m.gmane.org; Tue, 20 May 2008 16:00:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D18121FC7C; Tue, 20 May 2008 15:59:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25707-07-4; Tue, 20 May 2008 15:59:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8805A1FC54; Tue, 20 May 2008 15:59:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 114FA1FC54 for ; Tue, 20 May 2008 15:59:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25708-02-10 for ; Tue, 20 May 2008 15:59:29 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id 475EB1FB4E for ; Tue, 20 May 2008 15:59:29 +0200 (CEST) Original-Received: FROM udhcp-wlan71.public.engin.umich.edu (udhcp-wlan71.public.engin.umich.edu [141.213.120.81]) BY hackers.mr.itd.umich.edu ID 4832D93D.92126.25518 ; 20 May 2008 09:59:26 -0400 In-Reply-To: <115224fb0805200628r74c040a0r85295213c1635b9d@mail.gmail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41131 Archived-At: On Tue, 20 May 2008, Wolfgang Schuster wrote: > Hi Hans, > >> Yes I can see others have found the same problem. But thanks anyway >> for the link, because it prompted me to experiment with a box. At >> least for \startsimplecolumns .. \stopsimplecolumns there seems to be >> hope. See the example below, the last framedtext has two columns >> inside. For \startcolumns .. \stopcolumns this is not a solution: an >> error message about \prevdepth appears. > > Normal columns need the output routine and won't work inside of a box, > streams are a way to invoke the output routine. > > Simplecolumns are simpler and don't need the output routine, it's just > a simple vsplit and work in a few cases but is more limited, this is why > it did work, the internal function is like this. > > \starttext > \setbox0=\vbox{\hsize.45\hsize\input knuth\par} > \setbox1=\vsplit0 to .5\ht0 > \hbox to\hsize{\box1\hfill\box0} > \stoptext Thanks for this explanation. This makes it much easier to understand when to use columns and when to use simplecolumns. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________