[Tex/LaTex] Problem with hyperref and bookmark

bookmarksdvihyperrefmiktex

I use TeXnicCenter 2.02 Stable (32-bit) and MiKTeX 2.9.4533 (32-bit) on a 64-bit Windows 7.

I just installed both the 32-bit softwares (uninstalling the 64-bit ones) to check wether the problem was in the architecture or not. Seems not.

I've taken a model for my master thesis, which includes the packages hyperref and bookmark: When I try to build and view, LaTeX -> DVI, this simple code

\documentclass[10pt,a4paper,twoside,openright,oneside,openany,]{book}
\usepackage{hyperref}
\usepackage{bookmark}
\begin{document}
Hello world!
\end{document}

I get a MiKTeX Problem Report:

Some PostScript specials could not be rendered.

If someone could help me suggesting how to fix that problem, I would be very grateful.

Best Answer

If I compile the document I get the following default driver:

Package hyperref Message: Driver (default): hdvips.

That means, after the DVI conversion the document needs to be converted to PostScript via dvips. The final step is usually ps2pdf to get PDF, because PostScript does not know bookmarks.

If the file is viewed with a DVI viewer, then all PostScript specials that contain information for the final PDF are useless for the DVI viewer.

There are several options:

  • Ignoring.
  • Changing the rendering method in MiKTeX to dvips.
  • Using hyperref driver option hypertex for previewing DVI. But it should be changed for PDF output.