Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to get hyperref to work with pdflatex, but I'm getting the error hyperref Warning: Draft mode on and since all hyperrefs are disabled in draft mode, there are no links being created.

I tried doing the following: \usepackage[final]{hyperref} but still no success.

I'm using document class book: \documentclass{book} so nowhere do I say that I want draft enabled.

Tried compiling on two different machines with TexnicCenter using pdflatex(LaTeX=>PDF).

Any suggestions?

share|improve this question
2  
Make a complete example. –  Ulrike Fischer Aug 6 '12 at 9:47
    
@UlrikeFischer, Working on it.. creating just a simple MWE works, so gotta figure out what breaks it.. :) –  Filip Ekberg Aug 6 '12 at 9:50
    
Look in the log-file if another package loads hyperref before you do it. Or if you load a package which could interact with hyperref. –  Ulrike Fischer Aug 6 '12 at 9:52
1  
@UlrikeFischer, Maybe this is the culpit? \RequirePackage[unicode=true,draft,bookmarks=false]{hyperref} –  Filip Ekberg Aug 6 '12 at 9:53
    
It's quite strange that a package loads hyperref with the draft option turned on. –  egreg Aug 6 '12 at 10:08
show 3 more comments

2 Answers

up vote 8 down vote accepted

According to the documentation,

\hypersetup{final}

should do the trick.

share|improve this answer
add comment

Try:

\usepackage[draft=false]{hyperref}

Additionally, if you want to leave hyperref on for links but keep the same printed output, use something like:

\usepackage[hidelinks,draft=false]{hyperref}

When combined with a package like

\usepackage[obeyDraft]{todonotes}

it's really great and you can just change the draft option in the \documentclass[] and you can turn your 'to do' notes on and off really easily.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.