[pdftex] errors in pdf files?
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Mon Mar 1 17:24:51 CET 2010
Hello,
On Mon, Mar 01, 2010 at 03:20:20PM +0100, Manuel Pégourié-Gonnard wrote:
> 1. http://mirror.ctan.org/macros/latex/contrib/dvdcoll/doc/dcexample.pdf
> Error: Reference in Fields array to an invalid or non existant object
> (repeated many times)
A bad interaction between packages tabularx and pdfnotiz.
The latter package provides \pdfnote that uses \pdfannot
and stores the object numbers via \pdflastannot in a macro.
However tabularx puts a tabular line several times in a box,
the annotation of the rejected boxes are gone away, but
the object numbers are still in that macro.
Possible solution: the numbers cannot stored in a macro directly,
but must go to an auxiliary file (e.g. .aux file) first. Either
the box is kept, then the \pdfannot and \write, or both are
thrown away.
> 2. http://mirror.ctan.org/macros/latex/contrib/etextools/etextools.pdf
> Error: Annotation destination array is too short
| 6 0 obj
| << /S /GoTo /D [7 0 R /FitH] >>
| endobj
| 825 0 obj
| << /S /GoTo /D [7 0 R /FitH ] >>
| endobj
FitH needs a number as parameter (vertical position).
The error is in the source file etextools.dtx:
% \AddBookMark{attr{/F 2}goto page 1{/FitH}{etextools}}
can be fixed by
% \AddBookMark{attr{/F 2}goto page 1{/FitH 1000}{etextools}}
Or the value can be calculated using \hypercalcbp, see hyperref's manual.
Alternatives are macro \pdfbookmark of package `hyperref'
or the commands of package `bookmark'.
The same error occurs in ltxdocit.cls:
ltxdockit.cls: pdfview=FitH,
ltxdockit.cls: pdfstartview=FitH}
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the pdftex
mailing list