From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74667 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: problem with \getparameters Date: Thu, 23 Feb 2012 14:00:42 +0100 Message-ID: <5DAC1D23-0639-452A-A25D-34D1E45FBA62@googlemail.com> References: <4F45F35F.6000607@uni-bonn.de> <1EB07953-CBA1-4A15-8231-3EB642729999@googlemail.com> <4F46260F.1030304@uni-bonn.de> <5A4A31CD-449F-44C5-AED5-4FF6FD4BB2C4@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330002064 3945 80.91.229.3 (23 Feb 2012 13:01:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2012 13:01:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 23 14:01:00 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S0YI7-00016f-Bn for gctc-ntg-context-518@m.gmane.org; Thu, 23 Feb 2012 14:00:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70348CB256; Thu, 23 Feb 2012 14:00: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 7HlH5zE1lZWh; Thu, 23 Feb 2012 14:00:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 214DFCB257; Thu, 23 Feb 2012 14:00:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E9EBCB257 for ; Thu, 23 Feb 2012 14:00:51 +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 M3V88MOdUIVI for ; Thu, 23 Feb 2012 14:00:45 +0100 (CET) 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 5A11ACB256 for ; Thu, 23 Feb 2012 14:00:45 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1ND0ioo008487 for ; Thu, 23 Feb 2012 14:00:44 +0100 Original-Received: by eaag11 with SMTP id g11so815961eaa.14 for ; Thu, 23 Feb 2012 05:00:44 -0800 (PST) Received-SPF: pass (google.com: domain of schuster.wolfgang@googlemail.com designates 10.213.9.148 as permitted sender) client-ip=10.213.9.148; Authentication-Results: mr.google.com; spf=pass (google.com: domain of schuster.wolfgang@googlemail.com designates 10.213.9.148 as permitted sender) smtp.mail=schuster.wolfgang@googlemail.com; dkim=pass header.i=schuster.wolfgang@googlemail.com Original-Received: from mr.google.com ([10.213.9.148]) by 10.213.9.148 with SMTP id l20mr402689ebl.104.1330002044763 (num_hops = 1); Thu, 23 Feb 2012 05:00:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=KLFZ+yA/9T17nXsFeAtuthiQxPSaT/H5Pw5AvdMsGrc=; b=alq6RG9jMW11focYTQo9XupSr2W5lLwOqvmzbMcesI1FALpOlmOgMG7uDhqJghFpYN YMz8ImXW4V4+anPKgrjLOwzfcCuxuqknL1a5PbAGerdps90Zw7yIpe61OiLcKtFjrV9G S3iomYd/d7B/Lt6Qr5kjqTeOc1f8xUspoIFCA= Original-Received: by 10.213.9.148 with SMTP id l20mr317796ebl.104.1330002044657; Thu, 23 Feb 2012 05:00:44 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFB6A2.dip.t-dialin.net. [87.175.182.162]) by mx.google.com with ESMTPS id y14sm5116106eef.10.2012.02.23.05.00.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Feb 2012 05:00:43 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; 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: 03GBp0IsC - c735c9ba00c3 - 20120223 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:74667 Archived-At: Am 23.02.2012 um 13:51 schrieb luigi scarso: > On Thu, Feb 23, 2012 at 1:39 PM, Wolfgang Schuster > wrote: >> = >> Am 23.02.2012 um 13:31 schrieb luigi scarso: >> = >>> Hm global effect.. you can use a namespaced one >>> = >>> \enabletrackers[lines.numbers] >>> \starttext >>> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonum= y eirmod >>> tempor invidunt ut labore et dolore magna aliquyam erat, sed diam volup= tua. At >>> vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd >>> gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. >>> \vrule width\textwidth height 1pt\par >>> \setuplinenumbering[Mine1][width=3D1cm,start=3D1] >> = >> Better use first \define=85 and not \setup=85 which can result in an err= or for commands which >> use the commandhandler (e.g. \definelayout[][=85] vs. \setuplayout= [][=85]). > yes, infact It was only to show the interference... I'm not sure if > it's a bug or not. > = > Anyway for this case \setup.. seems to inglobe \define... > = > \unexpanded\def\definelinenumbering > {\dosingleempty\dodefinelinenumbering} > = > \def\dodefinelinenumbering[#1]% > {\edef\currentlinenumbering{#1}% > \mkdefinetextlinenumbering} > = > \unexpanded\def\setuplinenumbering > {\dodoubleempty\dosetuplinenumbering} > = > \def\dosetuplinenumbering[#1][#2]% > {\ifsecondargument > \def\currentlinenumbering{#1}% > \getparameters[\??rn#1][#2]% > \else > \let\currentlinenumbering\empty > \getparameters[\??rn][#1]% > \fi > \mksetuptextlinenumbering} \definelinenumbering doesn=92t use the commandhandler (see mult-aux.mkiv) b= ut this can change. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________