Bug ID: 370949
Summary: PDF bookmarks off by one
Platform: openSUSE RPMs
Component: PDF backend
In some PDF documents (in particular, those produced with the LaTeX Powerdot
class using a certain page size), the internal page bookmarks are all off by
one. Take the attached document as an example. Regardless whether you use the
document's own hyperlinks in the left-hand column of the page, or okular's
built-in table of contents, clicking on "A" takes you to slide "B", "B" takes
you to slide "C", and "C" takes you to slide "D".
This problem also occurs when viewing the document with Evince, but not when
using Adobe Acrobat Reader DC. Is it possible the problem is with Poppler,
then? (If so, any ideas as to what in Poppler is causing it? I can file an
upstream bug report if necessary, but it would help if I could provide further
Steps to Reproduce:
1. Open the attached document test.pdf and click on the "A", "B", or "C" links
in the left-hand column of the page or in Okular's table of contents.
2. Clicking on "A" takes you to slide "B", "B" takes you to slide "C", and "C"
takes you to slide "D".
2. Clicking on "A" should take you to slide "A", "B" to slide "B", and "C" to
The document was created using an up-to-date TeX Live 2016 system and
Ghostscript 9.19's ps2pdf:
$ cat >test.tex
$ latex test;latex test;dvips test;ps2pdf test.ps
$ okular test.pdf
The problem may have something to do with the page size. The problem does not
occur when "smartboard" is changed to "screen", "a4paper", or "letterpaper".
Looking at the Powerdot source code, it doesn't seem that Powerdot itself uses
the page size to determine how the bookmarks are set.
You are receiving this mail because:
You are watching all bug changes.