reserveobjnum (was: release notes for pdfTeX 1.11a (draft))
On 2003-07-30 18:56:42 +0200, Hans Hagen wrote:
At 16:58 30/07/2003 +0200, Martin Schroeder wrote:
- The syntax of \pdfobj has been extended: \pdfobj <object type spec> (h, v, m) <object type spec> --> reserveobjnum | [useobjnum <number>] [<attr spec>] [stream [<attr spec>]] <object contents> <object contents> --> <file spec> | <general text> When the optional keyword `reserveobjnum' and `useobjnum' is not given, the behaviour is unchanged.
what is <number> in reserveobj, any number? how is the user supposed to know which numbers are free?
\pdfobj reserveobjnum 123 {} \pdfobj useobjnum 123 {}
do both flush content? what if 123 is already taken?
That's wrong; it must be \pdfobj reserveobjnum {} \pdfobj useobjnum \pdflastobj {} See also http://tug.org/mailman/htdig/pdftex/2003-March/003814.html <blockquote src=pdftex.ch> @ The \.{\\pdfobj} primitive is to create a ``raw'' object in PDF output file. The object contents will be hold in memory and will be written out only when the object je referenced by \.{\\pdfrefobj}. When \.{\\pdfobj} is used with \.{\\immediate}, the object contents will be written out immediately. Object referenced in current page are appended into |pdf_obj_list|. </blockquote> Best regards Martin -- Martin Schröder, MS@ArtCom-GmbH.DE ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany Voice +49 421 20419-44 / Fax +49 421 20419-10
participants (1)
-
Martin Schroeder