GeneralHyperref using wrong driver?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
spikie
Posts: 2
Joined: Thu Oct 22, 2009 5:45 pm

Hyperref using wrong driver?

Post by spikie »

Hi,

I've problems using the hyperref package. I can generate a pdf with hyperlinks for a simple document but it's not working at all for my thesis file which is based on the book.cls document class. Looking at the log file hyperref tells it is using the hdvips driver instead of the hpdftex.
("C:\Program Files\MiKTeX 2.7\tex\generic\oberdiek\ifpdf.sty"
Package: ifpdf 2007/12/12 v1.6 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode detected.
))
\Hy@abspage=\count93
\c@Item=\count94
\c@Hfootnote=\count95
)
*hyperref using driver hdvips*
("C:\Program Files\MiKTeX 2.7\tex\latex\hyperref\hdvips.def"
File: hdvips.def 2007/11/20 v6.77g Hyperref driver for dvips
I suppose this is what's going wrong. However, I am not able to let hyperref choose the correct driver. I tried changing the configuration file or passing options like.

Code: Select all

\usepackage[pdftex]{hyperref}
Also, I turned off all packages that might conflict with hyperref. That did not work either.

Is there someone who can help me?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Re: Hyperref using wrong driver?

Post by Stefan Kottwitz »

Hi spikie,

welcome to the board!
Perhaps post your complete log file as attachment here, it could contain more information about the cause.

Stefan
LaTeX.org admin
spikie
Posts: 2
Joined: Thu Oct 22, 2009 5:45 pm

Re: Hyperref using wrong driver?

Post by spikie »

Hi Stefan,

Thanks for asking that because it made me go trough the whole log file again. Which made me I find a Latex clash error which brought me back on track. Apparently the hyperref package was already loaded in the cls file.
Post Reply