From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80132 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Place an annotation before it is defined Date: Mon, 7 Jan 2013 22:56:32 +0100 Message-ID: <20130107215632.GY11551@homerow> References: <20130107212015.GV11551@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0890179223==" X-Trace: ger.gmane.org 1357595804 29252 80.91.229.3 (7 Jan 2013 21:56:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2013 21:56:44 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 07 22:56:58 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 1TsKgi-0004p1-SA for gctc-ntg-context-518@m.gmane.org; Mon, 07 Jan 2013 22:56:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3035110272; Mon, 7 Jan 2013 22:56: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 a2-9N+eze6w0; Mon, 7 Jan 2013 22:56:40 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id EA09910268; Mon, 7 Jan 2013 22:56:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E9BD10258 for ; Mon, 7 Jan 2013 22:56:37 +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 oI2nj9+QeuBm for ; Mon, 7 Jan 2013 22:56:36 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id C1215101E6 for ; Mon, 7 Jan 2013 22:56:36 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r07LuZ0Y005347 for ; Mon, 7 Jan 2013 22:56:36 +0100 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id 3097911BBBD for ; Mon, 7 Jan 2013 15:56:35 -0600 (CST) Original-Received: from homerow (83.68.239.193) by lavabit.com with ESMTP id 3AG46RJUDI7W for ; Mon, 07 Jan 2013 15:56:35 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=msOrjuNs67klYl+3NmQHBb+GXZVxmW5Dp0B5pUZYyqI8Vp36i4EsBP/CLRRhIJuzGG/e9IsC0b6iaT/sGe8r4TlLRD/hDQ8AtNBT9UWMwgKEV/TmFYE2kVEeTiuVr4YYsNwC+iZPRuUS3NurGNOA8pnoucOsrhsS3AP0sc48opo=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QIJ9UA5q - bb6811bcc499 - 20130107 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:80132 Archived-At: --===============0890179223== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c6YcJYqqMhegfX14" Content-Disposition: inline --c6YcJYqqMhegfX14 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9301=E2=80=9307 Wolfgang Schuster wrote: > That=E2=80=99s not possible because the content is stored only in memory = and is therefore only available after you put the environment in your docum= ent. >=20 > 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 buffe= rs. >=20 > \usemodule[annotation] >=20 > \defineannotation[test][method=3Dbuffer,text=3DTest] Nice, I didn't know the =E2=80=9Cmethod=E2=80=9D 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 =E2=80=9Cmethod=3Dblock=E2=80=9D? Marco --c6YcJYqqMhegfX14 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQ60SQAAoJEPGqVaNSn0iKRhcH/26ZgDHhMt4eUlbku6iRuBvI TvuqPe9b4VSDgj7QuIdXWyaPFgyeHrsM0U5RJS5OVJynyrNgZG28JeZRC9ldCvAR K9fu2oT1vvpQ2lQ+dpmnQUMjVqjMw5kgJLVP3/06DEYOiKFlxIRdMk6N7ipqkaui irUYhQONGkrrJk2B9Xb/bBUTMDKDxY1Z9Uy8l/kxGb6Ccyj75btbHspG8XuHfwbr UN0xFicthE9/1MBLjt6f/t/hGpDA3BzFwPbqQueoXpO2vn/7ZUYQLrFAu/45rqkG kE4aGec30jd/QYM9BIm+YkHZOqf8PMtp+wnQvnb1G39E6hq3aJgTZECgZMbmaEU= =XbZ2 -----END PGP SIGNATURE----- --c6YcJYqqMhegfX14-- --===============0890179223== 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 ___________________________________________________________________________________ --===============0890179223==--