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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

According to @percusse in this post, I shouldn't load the pdftex option with the hyperref package. Why is it?

share|improve this question
up vote 11 down vote accepted

I would say you won't need to tell hyperref as it detects this on it's own. If you load hyperref by


and use another engine like XeTeX or LaTeX+dvips it could cause errors as hyperref adds \special commands to do its stuff.

These \special commands are different with each engine (pdfTeX produces PDF immediately—so no \special is neccessary—while dvips for example won't and therefore needs those \special commands in the DVI-file, created by LaTeX (or TeX). These \special commands will be processed by dvips to realise the features of hyperref).

All possible engine drivers and more information is provided by the hyperref manual.

I think you should only use those option only if you get trouble by processing your documents. But be aware of it, if you might change the engine.

share|improve this answer

Your Answer


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.