[pdftex] pdf objects with references to each other?

Hans Hagen pragma at wxs.nl
Mon Apr 1 13:31:12 CEST 2002


At 12:05 PM 4/1/2002 +0200, Heiko Oberdiek wrote:

>Do you know a documented feature that can be used to solve
>the cyclic reference problem?
>
>\pdfobj{I am A and references B}
>\pdfobj{I am B and references A}

write the ref to a file and use it in the second pass

> > (3) it happens that object refs are numbers, but in a more advanced sheme
> > they could as well be token lists representing the object number and
> > revision number i.e. \the\pdflastobj expanding to something "0 10" or 
> "2 40"
>
>pdfTeX creates a PDF file for the first time. It would be a bad
>implementation, if there are revision numbers not equal 0.
>So pdfTeX does not contain documented access to the revision
>number of objects.

hm, i can imagine situations where it woul db enice if pdftex could add 
revision numbers, imagine that you want to include old content with the 
option of rollback

> > (5) so, carying over in a macro is a bit better than incrementing
>
>How a macro can help here?

write, read (second pass stuff)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma at wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------




More information about the pdftex mailing list