From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74663 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 13:29:44 +0100 Message-ID: <4C1141FA-4E92-4B4B-8B9A-F2E16B870F2D@googlemail.com> References: <4F45F35F.6000607@uni-bonn.de> <1EB07953-CBA1-4A15-8231-3EB642729999@googlemail.com> <4F46260F.1030304@uni-bonn.de> 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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1330000215 21294 80.91.229.3 (23 Feb 2012 12:30:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2012 12:30:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 23 13:30:14 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 1S0XoI-0008Iu-O8 for gctc-ntg-context-518@m.gmane.org; Thu, 23 Feb 2012 13:30:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AEF87CB25A; Thu, 23 Feb 2012 13:30:09 +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 XW7RxLcQYk2R; Thu, 23 Feb 2012 13:30:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86AF1CB256; Thu, 23 Feb 2012 13:30:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 108EDCB256 for ; Thu, 23 Feb 2012 13:29:59 +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 06aaSp+98bjX for ; Thu, 23 Feb 2012 13:29:48 +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 1C746CB253 for ; Thu, 23 Feb 2012 13:29:47 +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 q1NCTll7011752 for ; Thu, 23 Feb 2012 13:29:47 +0100 Original-Received: by eaag11 with SMTP id g11so793194eaa.14 for ; Thu, 23 Feb 2012 04:29:47 -0800 (PST) Received-SPF: pass (google.com: domain of schuster.wolfgang@googlemail.com designates 10.213.10.82 as permitted sender) client-ip=10.213.10.82; Authentication-Results: mr.google.com; spf=pass (google.com: domain of schuster.wolfgang@googlemail.com designates 10.213.10.82 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.10.82]) by 10.213.10.82 with SMTP id o18mr355707ebo.142.1330000187379 (num_hops = 1); Thu, 23 Feb 2012 04:29:47 -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=/YP0YYTUZhQmWOCELyqodJY+7Q710iyPuGadQB8erOY=; b=c6uBKpCmMPAX3Vd/+58p+zTB2Yk/6UTb7fCOBSU9nyOVdoPXyDSfcz11Q4YdYlmxDP gnEgNZISprwLKbP++s2ZbHRYZQeb6Ez09pR8/PGWtcKcNtnU2HRf/a0M7owUbOLiTBKo i16927jBDJeVwRTLOR4fxPMrPVYnuS6FSbDVc= Original-Received: by 10.213.10.82 with SMTP id o18mr281320ebo.142.1330000187284; Thu, 23 Feb 2012 04:29:47 -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 u9sm4839622eem.11.2012.02.23.04.29.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Feb 2012 04:29:46 -0800 (PST) In-Reply-To: <4F46260F.1030304@uni-bonn.de> 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: 03GBotLwe - 0bdc3e9751ab - 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:74663 Archived-At: Am 23.02.2012 um 12:42 schrieb Thomas A. Schmitz: > On 02/23/2012 12:27 PM, Wolfgang Schuster wrote: >> \usemodule[annotation] >> >> \define[2]\NumberedblockquoteCommand >> {\setupindenting[no] >> \startlinenumbering[width=1cm][\annotationparameter{start}]% >> #2% >> \stoplinenumbering} >> >> \defineannotation >> [numberedblockquote] >> [alternative=command, >> %indenting=no, >> command=\NumberedblockquoteCommand] > > Wolfgang, > > thanks a lot for your solution. It works beautifully with the minimal example, but I can't use it in my project: it only works with a recent beta, but since footnotes are so badly broken, I need to use an older beta for typesetting this book project. Any chance of having a more generic solution without the annotation module? \def\startnumberedblockquote {\dosingleempty\dostartnumberedblockquote} \def\dostartnumberedblockquote[#1]% {\getrawparameters[numberedblockquote][start=1,#1]% \blank[line]% \begingroup \setupindenting[no]% \startlinenumbering[width=1cm][\numberedblockquotestart]} \def\stopnumberedblockquote {\stoplinenumbering \endgroup \blank[line]} 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________