On 2013–01–07 Wolfgang Schuster wrote:

> That’s not possible because the content is stored only in memory and is 
> 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 buffers.
> 
> \usemodule[annotation]
> 
> \defineannotation[test][method=buffer,text=Test]

Nice, I didn't know the “method” 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 “method=block”?


Marco

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to