From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83711 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: setupnarrower and startnarrower Date: Tue, 6 Aug 2013 12:14:47 -0400 (EDT) Message-ID: References: <20130806151137.4594025f@sole> <20130806160946.7526a314@sole> <0F44807F-4466-4943-8D5E-075678005898@gmail.com> <3D080671-6860-4927-85CE-4453A1899F58@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-342603435-1375805688=:910" X-Trace: ger.gmane.org 1375805695 13578 80.91.229.3 (6 Aug 2013 16:14:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2013 16:14:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 06 18:14:58 2013 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 1V6juU-00006a-2q for gctc-ntg-context-518@m.gmane.org; Tue, 06 Aug 2013 18:14:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 426E4101EC; Tue, 6 Aug 2013 18:14:16 +0200 (CEST) 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 nIoXb9KmsLmY; Tue, 6 Aug 2013 18:14:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7F56A101E7; Tue, 6 Aug 2013 18:14:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50CFF101E7 for ; Tue, 6 Aug 2013 18:14:13 +0200 (CEST) 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 C-rxzLLY1zbx for ; Tue, 6 Aug 2013 18:14:12 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 493FC101E3 for ; Tue, 6 Aug 2013 18:14:12 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r76GEoGw027296 for ; Tue, 6 Aug 2013 18:14:52 +0200 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By hackers.mr.itd.umich.edu ID 520120F8.C9FC2.29445 ; Authuser adityam; 6 Aug 2013 12:14:48 EDT In-Reply-To: <3D080671-6860-4927-85CE-4453A1899F58@gmail.com> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01K9sePxT - 3354f780f09b - 20130806 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:83711 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-342603435-1375805688=:910 Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 6 Aug 2013, Wolfgang Schuster wrote: > > Am 06.08.2013 um 17:53 schrieb Aditya Mahajan : > >> On Tue, 6 Aug 2013, Wolfgang Schuster wrote: >> >>> >>> Am 06.08.2013 um 16:09 schrieb Alan BRASLAU : >>> >>>> Thank you Wolfgang, but I was wondering about the standard \startnarro= wer. >>>> >>>> Many (some) commands allow setup assignments, the use of which overide= s but does not change the default. This is a very useful feature of ConTeXt= that suggest could be generalized. \startnarrower is but one example. >>> >>> Changing the command is simple but I would drop the second >>> argument when you want to change the left/right etc. values >>> because you can say =93left=3D4cm=94 etc. to get the desired margins. >> >> startnarrower has a weird interface. Ideally, it should just support key= words: >> >> \startnarrower >> [ >> leftmargin=3D..., >> rightmargin=3D..., >> alternative=3D(left|right|both), >> spacebefore=3D...., >> spaceafter=3D...., >> indenting=3D...., >> indentnext=3D...., >> before=3D...., >> after=3D...., >> ] > > That=92s more or less what I use for the =93narrow=94 alternative in the = annotation module. > > I would prefer such a parameter driven narrower environment myself (do we= even need > the left, middle and right option when we can set absolute margins) but k= eeping the current > interface for backwards compatibility make things a little bit ugly. Haven't we broken backward compatibility for other environments as well?=20 \startlinenumbering immediately comes to mind where the MkII interface was \startlinenumbering[continue] and the current interface is \startlinenumbering[continue=3Dyes] I, for one, think that it is OK to break backward compatibility for more=20 elegance and consistency. Aditya --8323328-342603435-1375805688=:910 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --8323328-342603435-1375805688=:910--