From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46928 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: setupindenting Date: Wed, 21 Jan 2009 15:03:33 +0100 Message-ID: <115224fb0901210603y6d63b426t38fe5a46f1d770cd@mail.gmail.com> References: <115224fb0901210516l63f1dce0mf828ce3887de3e7b@mail.gmail.com> 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: ger.gmane.org 1232546694 28014 80.91.229.12 (21 Jan 2009 14:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2009 14:04:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 21 15:06:07 2009 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 1LPdiE-00025d-SC for gctc-ntg-context-518@m.gmane.org; Wed, 21 Jan 2009 15:05:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8AF831FE18; Wed, 21 Jan 2009 15:04:27 +0100 (CET) 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 13843-04; Wed, 21 Jan 2009 15:03:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5B3501FADB; Wed, 21 Jan 2009 15:03:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 59F7C1FADB for ; Wed, 21 Jan 2009 15:03:45 +0100 (CET) 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 20829-01 for ; Wed, 21 Jan 2009 15:03:34 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id 4ECB01FA4C for ; Wed, 21 Jan 2009 15:03:34 +0100 (CET) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0LE3XY8023046 for ; Wed, 21 Jan 2009 15:03:33 +0100 Original-Received: by fk-out-0910.google.com with SMTP id z23so235675fkz.2 for ; Wed, 21 Jan 2009 06:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+WnH5XE1a/kC/5lG7YNIBBw0Uf2nwjxombA5pcD7zOA=; b=A13zE83T2KlWCZGHjA2xVevIVsVxvHWqhky3l85yZIpO2LkXAb5Z5tisHy+8Xp/dRB 8Ak9HAEdjJviUZVwTMHEboQ3SC5t3VzImzsEoHkl8rf/qStOYGA/TJ59HZdazze4FD0k VmFFO995b1b0stg649sF8ntm9fwDAktybinQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=WfSLpsQQ90eKkHI6x/7OXRFkh4Oj1ngc//8rSIYQl+Hb7wry1zA7sl+tpGRzsPSaaQ WcMvPUTybzrpKsPRs+nKuzcB5g/4T0SMgRrKUSSPQFNhBhM3KTj2VKQn80qvIOHt5H1x Bmm2/p+lm9VyrVPYGvtckHiLj4M0k9LqttVzs= Original-Received: by 10.223.105.72 with SMTP id s8mr120292fao.9.1232546613503; Wed, 21 Jan 2009 06:03:33 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.128.186; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 168579616 - 58f0fca31daa X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:46928 Archived-At: On Wed, Jan 21, 2009 at 2:47 PM, Cecil Westerhof wrote: > 2009/1/21 Wolfgang Schuster : >> On Tue, Jan 20, 2009 at 10:28 PM, Cecil Westerhof >> wrote: >>> With setupindenting I can define the level of indenting. But I want a >>> different level of indentation for different paragraphs. How can I do >>> this? >> >> You can define a environment for special sections and set a different >> indent parameter inside of this section. I need more information to give >> you a better answer. > > In my template I have: > \long\def\letterbody#1{\blank[line]\setupindenting[yes, medium]#1} \long\def\letterbody#1% {{\blank[line]\setupindenting[yes,medium]#1\par}} You could also write this as environment with \definestartstop [letterbody] [before={\blank[line]}, commands={\setupindenting[yes,medium]}] and write in your document \startletterbody letter content \stopletterbody 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 ___________________________________________________________________________________