[pdftex] FW: Turning off hyperlinks in pdfLaTex

Smith, Stephen SmithSJ at mar.dfo-mpo.gc.ca
Thu Mar 20 23:22:19 CET 2008


I would like to thank everyone (Robin Fairbairns, Alain Matthes, Heiko Oberdiek) for replying to my question.  I was challenged to read to the log closer to see who exactly was loading hyperref.sty.  The actual sequence was Harvard.sty -> html.sty -> hyperref.sty.  
 
Sebastian Rahtz's suggestion of using  \hypersetup{draft=true} in the preamble was exactly what I needed. I had seen this command in the documentation for hyperref but did not click into seeing that it could be used to change this setting.  Thank you Sebastian.

Stephen


________________________________

From: Sebastian Rahtz [mailto:sebastian.rahtz at oucs.ox.ac.uk]
Sent: Thu 20/03/2008 6:46 PM
To: Smith, Stephen
Cc: pdftex at tug.org
Subject: Re: [pdftex] FW: Turning off hyperlinks in pdfLaTex



Smith, Stephen wrote:
> Let me clarify my question.  I am using pdfLaTex which as I understand it (from the log) loads hyperref.  At this time I want to turn off all of the hyperlinks when I create the pdf file (imitating the draft option in hyperref).  I have searched the FAQs, pdfTeX manual and google but no luck. Can some tell me how to do this?
>
>  
Why do you say "imitating the draft option in hyperref "?
Why not just actually _use_ the hyperref draft option?

Maybe what you are missing is the \hypesetup command,
which can be used to add options to hyperref
after it is loaded, ie in your document. so

   \hypersetup{draft=true}

in your document preamble would likely be the command
you need.

--
Sebastian Rahtz     

Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431





More information about the pdftex mailing list