From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14771 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: strange dependency between cbox and whitespace? Date: Thu, 19 Feb 2004 18:15:41 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.1.1.2.20040219181501.03313138@server-1> References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1077211231 17336 80.91.224.253 (19 Feb 2004 17:20:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2004 17:20:31 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Feb 19 18:20:21 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AtrqX-0007k4-00 for ; Thu, 19 Feb 2004 18:20:21 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id CCEB410B5B; Thu, 19 Feb 2004 18:18:28 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 26D6F10AFC for ; Thu, 19 Feb 2004 18:14:45 +0100 (MET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.nl (8.12.10/SQL-8.12.10-1/8.12.5) with ESMTP id i1JHGPUX009518 for ; Thu, 19 Feb 2004 18:16:25 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 99C7623359; Thu, 19 Feb 2004 18:16:30 +0100 (CET) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 8FC6917B1A for ; Thu, 19 Feb 2004 17:16:29 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Original-To: ntg-context@ntg.nl In-Reply-To: Original-References: X-AntiVirus: checked by Vexira Milter 1.0.6; VAE 6.24.0.4; VDF 6.24.0.10 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14771 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14771 At 17:57 19/02/2004, you wrote: >Hi all! > >I came across the following behaviour: cboxes seem to suppress white space >in certain conditions. > >In the following example there is no whitespace output between paragraph >no. 2 und 3. Yet, if I change \setupwhitespace to 'none' or if I do not >enclose the paragraphs in cboxes then the whitespaces between the >paragraphs appear as expected. > >Does anyone know a workaround for this 'strange' behaviour of cboxes? > >Thanks for your attention, >--Stefan > > >\setupoutput[pdftex] >\setupinteraction[openaction={firstpage,FitHeight},state=start] >\setupwhitespace[small] >\setupblank[100pt] >\def\Para#1{\cbox{#1 \dorecurse{10}{this is some paragraph text}}\par} >\starttext >\Para{1} >\blank[big] >\Para{2} >\blank[medium] >\Para{3} >\blank[small] >\Para{4} >\stoptext has to do with the way tex handles vbox/vtop's (tex does not have dual baseline boxes) \def\Para#1{\cbox{#1 \dorecurse{10}{\begstrut this is some paragraph text \endstrut}}\par} or something: \long \def\Para#1#2\EndPar{\startalign[middle]#1 #2\stopalign}