[DVIPDFMx] possibility of forward references?

Alexander Grahn A.Grahn at hzdr.de
Tue Aug 30 23:10:34 KST 2011


On Tue, Aug 30, 2011 at 11:00:21AM +0200, Oleg Parashchenko wrote:
>Hello,
>
>in pdftex, I can do the following (the code is a bit incorrect):
>
>% Declare that I will create an object in future
>\pdfobj reserveobjnum {...}
>\myobjnum=\pdflastobj
>% Refer to the object
>\pdfliteral{BT [\myobjnum 0 R]TJ ET
>% Finally, create the object
>\pdfobj useobjnum\myobjnum {(test)}
>
>I can refer to an object created later. Is it possible with DVIPDFMx?

The dvipdfmx counterpart should be:

\special{pdf:code BT [@myobj]TJ ET}
\special{pdf:obj @myobj (test)}

Alexander


More information about the dvipdfmx mailing list