[pdftex] \pdfobj extended [was: Forward looking object references]

The Thanh Han hanthethanh at hotpop.com
Wed Mar 26 15:36:50 CET 2003


Hi,


I extended the syntax of \pdfobj to:

\pdfobj <object type spec>                              (h, v, m)
<object type spec> --> reserveobjnum 
                    | [useobjnum <number>] [stream [<attr spec>]] <object contents> 
<object contents> --> <file spec>
                    | <general text>

When the optinal keyword `reserveobjnum' and `useobjnum' is not given,
the behaviour is unchanged.

Usage example:

\pdfobj reserveobjnum
\count0=\pdflastobj

....

\pdfobj useobjnum \count0 {test}
\pdfrefobj\pdflastobj

(or one can use \immediate\pdfobj useobjnum ...  instead of \pdfrefobj)

If you use multiple \pdfobj useobjnum with the same object number, the
result is undefined ;)

The whole sources tarball is available at
http://vinux.sourceforge.net/pdftex

Further patches will be uploaded to tis location as well.

Or one can use the texlive p4 server instead.

Thanh


More information about the pdftex mailing list