From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8343 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Linespacing in startstop Date: Sun, 23 Jun 2002 13:07:01 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020623130431.02c18f10@server-1> References: <3D11F229.1090900@voiceinterconnect.de> <200206190948.54864.ishamid@attbi.com> <200206200635.40418.ishamid@attbi.com> <3D11F229.1090900@voiceinterconnect.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035398755 26770 80.91.224.250 (23 Oct 2002 18:45:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:45:55 +0000 (UTC) Cc: Uwe Koloska , ConTeXt Mailing List Original-To: Idris S Hamid In-Reply-To: <200206201112.00759.ishamid@attbi.com> Xref: main.gmane.org gmane.comp.tex.context:8343 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8343 At 11:12 AM 6/20/2002 -0600, Idris S Hamid wrote: >============================== > \definestartstop [test] [commands=%{\switchtobodyfont[18pt]} > {\setupinterlinespace[line=36pt]}]%,after={\blank[big]}}] > >\starttext > >\starttest >This is a test This is a test This is a test This is a test >This is a test This is a test This is a test This is a test >This is a test This is a test This is a test This is a test > >This is a test This is a test This is a test This is a test >This is a test This is a test This is a test This is a test >This is a test This is a test This is a test This is a test >\stoptest > >\stoptext >================================ > >Now I get interline spacing, but _only_ in the first paragraph! Uncommenting >, after={\blank[big]}] >makes no difference of course. > >How can I get it in every paragraph (but _only_ within the environment)? \definestartstop [test] [before={\setupinterlinespace[1.5]}, after=\endgraf] will work ok, you need to end a par within the group, since tex uses par specific spacing settings that count at th eend of a paragraph (which in your case is ended *after* the start/stop group ends compare: \bgroup \baselineskip 1cm \input tufte \egroup \par \bgroup \baselineskip 1cm \input tufte \par \egroup [same for left/rightskip and indentation] Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------