From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80214 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Place an annotation before it is defined Date: Fri, 11 Jan 2013 17:08:11 +0100 Message-ID: <06F675A9-4073-4520-86B4-72F915037567@gmail.com> References: <20130107212015.GV11551@homerow> <20130107215632.GY11551@homerow> <87DDD6CB-0971-4B5D-A523-84A1B820DE70@gmail.com> <20130107222047.GA11551@homerow> <8DDDF6ED-F6F1-408A-BA29-7878686CC6F1@gmail.com> <20130111084535.GD31752@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1357920501 28375 80.91.229.3 (11 Jan 2013 16:08:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2013 16:08:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 11 17:08:39 2013 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 1Tth9q-0005wJ-RD for gctc-ntg-context-518@m.gmane.org; Fri, 11 Jan 2013 17:08:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A7977101E8; Fri, 11 Jan 2013 17:08:22 +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 hAnMJjGI+BcD; Fri, 11 Jan 2013 17:08:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B9D6F101E5; Fri, 11 Jan 2013 17:08:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 59C7E101E5 for ; Fri, 11 Jan 2013 17:08:19 +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 9ylJP8l3DESr for ; Fri, 11 Jan 2013 17:08:14 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id A8382101E3 for ; Fri, 11 Jan 2013 17:08:14 +0100 (CET) Original-Received: from mail-bk0-f45.google.com (mail-bk0-f45.google.com [209.85.214.45]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0BG89w3026746 for ; Fri, 11 Jan 2013 17:08:13 +0100 Original-Received: by mail-bk0-f45.google.com with SMTP id jk13so1024301bkc.18 for ; Fri, 11 Jan 2013 08:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=R9Jlfro5TC/O2isR7Wi59oapgH/sR4JXdSMi0Av7me0=; b=j4X5Uc/FDuCMgOyCGR8uxTyWK8KwmZ1P111DOE9LjzH2n+9ZDa0Ajr+4V+qqZVcvn3 /Xnv0+qCXkqoZKClF5iHl8COHehka1D1eegfs+oMm3/j5nvKzDGFn5R/2rfCx1jHclYO 5lAPKjqJecWyrHMo0+T4ijCS66FKVdoQiBKX2vaA/UnoJlIGRsy9viivnwa5ADocw/G6 01Xw4NTy01Eyxkv34eGmhLiwPOx1uVqszU6tXI3k2wYzPhZgHAo03oetwDqRlLWNVmic ZG0+E8ZbwukscwDC7+oQvLQXoY7TEmEESUHNVKpz/2IFUogXGGg1xtBudCkfokDT8DiC tXXw== X-Received: by 10.205.125.137 with SMTP id gs9mr36234545bkc.22.1357920489048; Fri, 11 Jan 2013 08:08:09 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4d0756f0.pool.mediaWays.net. [77.7.86.240]) by mx.google.com with ESMTPS id v8sm4803277bku.6.2013.01.11.08.08.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jan 2013 08:08:08 -0800 (PST) In-Reply-To: <20130111084535.GD31752@homerow> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.45; 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: 0RIKE89nD - 7f91efbf7f76 - 20130111 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:80214 Archived-At: Am 11.01.2013 um 09:45 schrieb Marco Patzer : > On 2013=9601=9610 Wolfgang Schuster wrote: > = >> You can try the beta from my bitbucket site [0] which uses a two mechani= sm >> for named buffers (\startannotation[] =85 \stopannotation) which c= an >> be accessed with \getannotation[]. > = > It doesn't work for me: > = > \usemodule [annotation] > \defineannotation [myannotation] Use \defineannotation[myannotation][method=3Dbuffer] to disable the output from \startmyannotation =85 \stopmyannotation. > \starttext > = > aaaaa > \getannotation [foo] You need \getmyannotation[foo]. > bbbbb > = > \startmyannotation [foo] > ANNOTATION > \stopmyannotation > = > \stoptext > = > results in > = > aaaaa > bbbbb > ANNOTATION > = > Furthermore > = > \usemodule [annotation] > \defineannotation [myannotation] > \setupannotation [myannotation] [alternative=3Dparagraph] > = > \starttext > \startmyannotation > \stopmyannotation > \stoptext > = > results in > = > <+ t-annotation.lua>) > ! Undefined control sequence. > = > [=85] > = > \540>:way ->\sharedcounterparameter > \c!way > ...rparameter {\currentcounter }\c!way > = > Tested on: 2013.01.10 01:04 No idea where this comes from because there is no command with this name in= the current version of the module. Do you have the following block at the begin of t-annoation.mkvi? %D \module %D [ file=3Dt-annotation, %D version=3D2013.01.10, %D title=3D\CONTEXT\ User Module, %D subtitle=3DAnnotations, %D author=3DWolfgang Schuster, %D date=3D\currentdate, %D copyright=3DWolfgang Schuster, %D license=3DGNU General Public License] 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 ___________________________________________________________________________= ________