From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80135 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: Mon, 7 Jan 2013 23:01:37 +0100 Message-ID: <87DDD6CB-0971-4B5D-A523-84A1B820DE70@gmail.com> References: <20130107212015.GV11551@homerow> <20130107215632.GY11551@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 1357596102 1361 80.91.229.3 (7 Jan 2013 22:01:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2013 22:01:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 07 23:02:00 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 1TsKlZ-0003Au-AO for gctc-ntg-context-518@m.gmane.org; Mon, 07 Jan 2013 23:01:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6802101E6; Mon, 7 Jan 2013 23:01:41 +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 McpjzFGSswSh; Mon, 7 Jan 2013 23:01:40 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7FF49101EE; Mon, 7 Jan 2013 23:01:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12EAE101EE for ; Mon, 7 Jan 2013 23:01:39 +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 YIZJvlfZzJPU for ; Mon, 7 Jan 2013 23:01:38 +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 432FA101E6 for ; Mon, 7 Jan 2013 23:01:38 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r07M1WUG016656 for ; Mon, 7 Jan 2013 23:01:33 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so8870066bkc.0 for ; Mon, 07 Jan 2013 14:01:32 -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=RzyOP30MVK612x6LtImf/oDEyx/h+X5d/8xhNsPkwy4=; b=0h4RFPjV8T8iAgykDXWkc/kNn1MI1o6H66gYgHLkkG+4SIylYPNmf18y5FeEjDeNYE 2lXYSxcbN2HpXTCrg66g8NsIy/ZSDUMB/lnNNuD8kwxBcQOR17ukgjysX4mvrymzFnTz YwcwqwB0YmV/avy1AbLupJhW3juV0UnjGfWneL3Sk6blNfeBwvmECrTfIxJJXRuh9iLx /eJ5e0ovY8NV9BKnDY6rEwQTcHQm7WRzaXJx+IfMs6jiwrVu5r2I+J3LRcJ014ICnKVT thvqiAQmvR48Yyswn5kJpT/dvtPqM7QWXvHgOdpVZw74roc2+zWKInXS/mXOgAqpP2NY fmZA== X-Received: by 10.204.4.133 with SMTP id 5mr31693907bkr.21.1357596092757; Mon, 07 Jan 2013 14:01:32 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4d074adf.pool.mediaWays.net. [77.7.74.223]) by mx.google.com with ESMTPS id c10sm43835633bkw.1.2013.01.07.14.01.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Jan 2013 14:01:32 -0800 (PST) In-Reply-To: <20130107215632.GY11551@homerow> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 0TIJa1xm0 - bfac286f2be4 - 20130107 (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:80135 Archived-At: Am 07.01.2013 um 22:56 schrieb Marco Patzer : > On 2013=9601=9607 Wolfgang Schuster wrote: > = >> That=92s not possible because the content is stored only in memory and i= s therefore only available after you put the environment in your document. >> = >> What you can do is to set the content of the environment at the begin of= the document and refer to it at a later position like you can do with buff= ers. >> = >> \usemodule[annotation] >> = >> \defineannotation[test][method=3Dbuffer,text=3DTest] > = > Nice, I didn't know the =93method=94 key. > = > Blocks, in contrast to buffers, seem to be able to place content > before it is defined. I did not check how they work, but since I > didn't see any temporary files, the only possibility is to write the > data to the tuc file, I assume. It is by any chance possible to > provide a =93method=3Dblock=94? Yes, blocks are stored in the tux-file while buffers are only stored in mem= ory. I played for a while with \setdataset to store the content but dropped it b= ecause it required multiple runs and especially in the first run the output would = be always wrong because no content is available but I can consider it as a optional m= ethod. 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 ___________________________________________________________________________= ________