[OS X TeX] bookmark problem with DVIPDFM(x)

Jin-Hwan Cho chofchof at ktug.or.kr
Wed Feb 7 02:21:33 EST 2007


It is possible to insert bookmarks with DVIPDFM(x) as well as
DVIPS and pdfTeX. With \usepackage[dvipdfm,bookmark]{hyperref}
bookmarks can be generated automatically with DVIPDFM(x).

Even though the bookmark worked well in Adobe Reader, it did not
work on Preview.

The reason is in the hdvipdfm.def file in the hyperref package.
The line 64 looks as follows:

   \@pdfm at mark{dest (#1) [@thispage /\@pdfview\space @xpos @ypos]}%

After modifying the line as follows

   \@pdfm at mark{dest (#1) [@thispage /\@pdfview\space @xpos @ypos null]}%

you can get bookmarks working with Preview as well as Adobe Reader.

Best, ChoF.

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list