From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36904 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: definewhitespace Date: Fri, 5 Oct 2007 13:17:34 +0200 Message-ID: <20071005131734.94f72a49.schuster.wolfgang@googlemail.com> References: <20071005003258.GD24077@obiit.org> 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 1191583101 32495 80.91.229.12 (5 Oct 2007 11:18:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2007 11:18:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 05 13:18:18 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 1IdlCD-0005J5-Dy for gctc-ntg-context-518@m.gmane.org; Fri, 05 Oct 2007 13:18:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C45C1FD4A; Fri, 5 Oct 2007 13:18:11 +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 14065-02-2; Fri, 5 Oct 2007 13:18:08 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18FD11FD1B; Fri, 5 Oct 2007 13:18:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C04711FCEF for ; Fri, 5 Oct 2007 13:17:57 +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 14065-02 for ; Fri, 5 Oct 2007 13:17:49 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by ronja.ntg.nl (Postfix) with ESMTP id 778E31FCE9 for ; Fri, 5 Oct 2007 13:17:48 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id b2so385816nfb for ; Fri, 05 Oct 2007 04:17:48 -0700 (PDT) Original-Received: by 10.86.81.8 with SMTP id e8mr2393841fgb.1191583068128; Fri, 05 Oct 2007 04:17:48 -0700 (PDT) Original-Received: from rover ( [194.94.240.58]) by mx.google.com with ESMTPS id p9sm5292864fkb.2007.10.05.04.17.44 (version=SSLv3 cipher=OTHER); Fri, 05 Oct 2007 04:17:45 -0700 (PDT) In-Reply-To: <20071005003258.GD24077@obiit.org> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.10.14; 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:36904 Archived-At: On Fri, 5 Oct 2007 02:32:58 +0200 frantisek holop wrote: > hi there, > > i am in 2 column mode and i can't seem to make > setupwhitespace work. > > i would like to put some really small whitespace between paragpraphs. > > so for it's 1 or 0. either a fixed amont of space, or none. > > the docs say: > > \setupwhitespace[...] > ... none small medium big line fixed fix dimension > > > but the source defines these in cont-spa.tex: > > \definewhitespacemethod [\v!fix] {} > \definewhitespacemethod [\v!fixed] {\witruimteflexibelfalse} > \definewhitespacemethod [\v!flexible] {\witruimteflexibeltrue} > \definewhitespacemethod [\v!line] {\ctxparskip \baselineskip} > \definewhitespacemethod [\v!halfline] {\ctxparskip.5\baselineskip} > \definewhitespacemethod [\v!none] {\ctxparskip \zeropoint} > \definewhitespacemethod [\v!big] {\ctxparskip \bigskipamount} > \definewhitespacemethod [\v!medium] {\ctxparskip \medskipamount} > \definewhitespacemethod [\v!small] {\ctxparskip \smallskipamount} > > is flexible for the dimension mode? > > what do fix and fixed mean? > (halfline is undocumented?) > > does `dimension' mean i can simply give it a tex dimension? > e.g. > \setupwhitespace[4pt] > ? > > thanks for helping out a tired texer :D Hi, ConTeXt sets parskip in columns always to one full line and ignores half lines or any other value but you trick ConTeXt and set the white again inside of multicolumns. \starttext \setupwhitespace[...] % global value your text \startcolumns \setupwhitespace[...] % local value text in columns \stopcolumns more text \stoptext You can not only use dimension for \setuwhitespace, you can also use skip values like \setupwhitespace[3pt plus 2pt minus 1pt]. 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 ___________________________________________________________________________________