From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35211 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: columns/blank= Date: Sun, 1 Jul 2007 14:13:32 +0200 Message-ID: <20070701141332.1882f92a.schuster.wolfgang@googlemail.com> References: 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: sea.gmane.org 1183306743 29132 80.91.229.12 (1 Jul 2007 16:19:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Jul 2007 16:19:03 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 01 18:19:00 2007 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 1I528V-0004Ka-TC for gctc-ntg-context-518@m.gmane.org; Sun, 01 Jul 2007 18:18:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F0CA1FFE4; Sun, 1 Jul 2007 18:18:54 +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 23250-05; Sun, 1 Jul 2007 18:18:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A3A591FFC5; Sun, 1 Jul 2007 18:18:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E1C851FFC5 for ; Sun, 1 Jul 2007 18:18:41 +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 25856-02 for ; Sun, 1 Jul 2007 18:18:38 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by ronja.ntg.nl (Postfix) with ESMTP id 4D6641FF44 for ; Sun, 1 Jul 2007 18:18:38 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id h2so1137706ugf for ; Sun, 01 Jul 2007 09:18:38 -0700 (PDT) Original-Received: by 10.67.103.16 with SMTP id f16mr4198180ugm.1183306717823; Sun, 01 Jul 2007 09:18:37 -0700 (PDT) Original-Received: from eve ( [89.51.234.53]) by mx.google.com with ESMTP id n55sm3385695uga.2007.07.01.09.18.30 (version=SSLv3 cipher=OTHER); Sun, 01 Jul 2007 09:18:36 -0700 (PDT) In-Reply-To: X-Mailer: Sylpheed 2.4.1 (GTK+ 2.10.11; i686-pc-mingw32) 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:35211 Archived-At: On Fri, 29 Jun 2007 20:01:11 +0200 Patrick Gundlach wrote: > Hi, > > what is the rationale behind > > \setupblank[\@@klblank]% > \ifdim\ctxparskip>\zeropoint\relax > \setupwhitespace[\@@klblank]% > \fi > > in page-mul.tex (columns)? It seems to me that blank=line inside a > startcolumn does not work if ctxparskip = 0pt, which is the default. > So when I'd like to have setupwhitespace[line] to get paragraphs > separated by blank lines inside a column, I have to do this some other > way?!? > > Patrick Hi Patrick, both setups are indpendent from the other one, they use only the same value inside columns. 1. \setupblank[\@@klblank]% use the value from \setupcolumns[blank=..] for every simple blank command inside columns. The default value for blank is line and this value is used. You can use other value like small, big or dimen without problems with a complex blank. simple blank: \blank complex blank: \blank[small|dimen|...] 2. \ifdim\ctxparskip>\zeropoint\relax \setupwhitespace[\@@klblank]% \fi look if the user has set parskip, if the answer is yes overwrite the global value from the user and use the local value for columns. The local comes also from the columns key \setupcolumns[blank=...] You can change the parskip value inside columns either with \setupcolumns[blank=...] or you write \setupwhitespace[...] after \startcolumns. A testfile would also help, you see I set parskip to ConTeXts small value but I get a line in columns. \showgrid \setupwhitespace[small] \starttext \startcolumns \input knuth \input knuth \blank \input knuth \stopcolumns text\par text \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________