7 Jan
2013
7 Jan
'13
9:56 p.m.
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