New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more problems with pdf bookmarks #2

ascherer opened this Issue May 18, 2016 · 1 comment


None yet
1 participant

ascherer commented May 18, 2016

The patches in the attachment show the effect of using colored boxes instead of destination marks.

Take latest cwebmac.tex (ver. 3.69) and test.w from the attachment.

First apply patch cwebmac-dvi.patch:

<get clean cwebmac.tex>
patch -p0 < cwebmac-dvi.patch
cweave test.w
tex '\let\pdf+ \input test.tex'
dvipdfm test.dvi
mv test.pdf test1.pdf

Then apply patch cwebmac-pdf.patch:

<get clean cwebmac.tex>
patch -p0 < cwebmac-pdf.patch
cweave test.w
pdftex test.tex
mv test.pdf test2.pdf

Now compare test1.pdf and test2.pdf

I see two problems:

  1. for pdf mode there are only two occurrences of \pdfdest (red and green), while for dvi mode there are three occurrences of setting destination marks (red, green and blue). I would like to point out
    that in pdf mode there is \makebookmarks macros, which does the same job more clearly, than it is done in dvi mode.
  2. in dvi mode link to first section points before date, not before the section itself, as in pdf mode

This comment has been minimized.

Show comment
Hide comment

ascherer commented May 18, 2016

Deeper analysis is done on branch

@ascherer ascherer added the wontfix label Dec 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment