From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36903 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: definewhitespace Date: Fri, 5 Oct 2007 11:48:22 +0200 Message-ID: <20071005114822.e42531b2.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 1191582381 30187 80.91.229.12 (5 Oct 2007 11:06:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2007 11:06:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 05 13:06:16 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 1Idl0M-00019l-5M for gctc-ntg-context-518@m.gmane.org; Fri, 05 Oct 2007 13:06:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CE06E1FAD5; Fri, 5 Oct 2007 13:05:53 +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 12511-02-10; Fri, 5 Oct 2007 13:05:47 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB7B31FD48; Fri, 5 Oct 2007 11:48:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C55551FD47 for ; Fri, 5 Oct 2007 11:48:49 +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 06045-08-2 for ; Fri, 5 Oct 2007 11:48:33 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by ronja.ntg.nl (Postfix) with ESMTP id F309A1FCFF for ; Fri, 5 Oct 2007 11:48:30 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id b2so369627nfb for ; Fri, 05 Oct 2007 02:48:30 -0700 (PDT) Original-Received: by 10.86.28.5 with SMTP id b5mr2337369fgb.1191577710130; Fri, 05 Oct 2007 02:48:30 -0700 (PDT) Original-Received: from rover ( [194.94.240.58]) by mx.google.com with ESMTPS id y18sm5139178fkd.2007.10.05.02.48.28 (version=SSLv3 cipher=OTHER); Fri, 05 Oct 2007 02:48:28 -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:36903 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 ___________________________________________________________________________________