From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86591 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: option suggestion for \setupindenting Date: Thu, 06 Mar 2014 22:26:43 +0100 Message-ID: <5318E813.3050407@wxs.nl> References: <5318BFF6.6060909@gmx.es> <7C30E0CC-2ECC-4FB4-9987-63286AA6F30B@gmail.com> <5318D54E.4020201@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1394141215 25806 80.91.229.3 (6 Mar 2014 21:26:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2014 21:26:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 06 22:27:03 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WLfok-0008SS-R9 for gctc-ntg-context-518@m.gmane.org; Thu, 06 Mar 2014 22:27:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C8A0101F8; Thu, 6 Mar 2014 22:27:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cM5XnASD-pPy; Thu, 6 Mar 2014 22:27:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0A9B4101EF; Thu, 6 Mar 2014 22:27:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B88F101EF for ; Thu, 6 Mar 2014 22:26:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 54w4o9TdUtdJ for ; Thu, 6 Mar 2014 22:26:56 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id A002B101E1 for ; Thu, 6 Mar 2014 22:26:46 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s26LQj2m019247 for ; Thu, 6 Mar 2014 22:26:45 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 5800-1713362 for ; Thu, 06 Mar 2014 22:26:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <5318D54E.4020201@gmx.es> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TLylqJDc - d26155c073f2 - 20140306 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86591 Archived-At: On 3/6/2014 9:06 PM, Pablo Rodriguez wrote: > On 03/06/2014 08:38 PM, Wolfgang Schuster wrote: >> Am 06.03.2014 um 19:35 schrieb Pablo Rodriguez: >>> >>> \leftskip2em >>> \parindent-2em >>> >>> Would it be possible to have a reverse option in \setupindenting, whic >>> could be applied with the other options? >>> >>> Many thanks for your help, >> >> \definestartstop >> [weird] >> [before=3D{\startnarrow[left=3D2em,default=3Dleft]\setupindenting[yes= ,-2em]}, >> after=3D{\stopnarrow}] >> >> \setupindenting[yes,2em] > > Many thanks for your fast reply, Wolfgang. > > I have a book that I want to typeset using ConTeXt, to show its author > the results. > > \leftskip and \parindent work fine for me. The problem is the length. I > need the reverse indenting only in the final chapter (it=92s a book list, > that I would like to avoid to input as a BibTeX bibliography). > > The book will have a general \setupindenting, but I don=92t know whether > it will be small, medium or big. And in the last chapter, I want this > vaules to be the same, but with a reverse indenting. > > Here is the sample. > > \setupindenting[yes,medium] > > \starttext > > \dorecurse{5}{\input knuth\par} > > I can change indenting value, but I cannot get an inverse indenting. > > \setupindenting[yes,small] > > \dorecurse{5}{\input knuth\par} > > \stoptext > > > I think that \setupindenting[reverse] makes sense as an option. So the > user can set inverse indentings for the whole document. And (s)he will > have to change the value only once, if applied before as standard indenti= ng. reverse is a somewhat weird option specific for your case; what if you = also want to change other things; better is: \defineindenting[whatever][yes,2cm] %defineindenting[whatever][yes,-2cm] \starttext \setupindenting[yes,-2em] \input ward \par \setupindenting[yes,2em] \input ward \par \setupindenting[whatever] \input ward \par \stoptext so i'll make a \defineindenting ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________