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 am using the hyperref package in my LaTeX document, and then using pdflatex to generate the pdf file.

Is there any harm in print quality, in using the hyperref package?

Or should I have two versions of my document, one for viewing on the screen (with hyperref) and one for printing (without hyperref)?

This is how I have set up the package.

\usepackage[colorlinks,
            bookmarksnumbered,
            citecolor=black,
            urlcolor=black,
            linkcolor=black
            ]{hyperref}
\usepackage[all]{hypcap} % Correct a problem with hyperref, don't know 
                         % what problem it is supposed to correct :)
\hypersetup{
    unicode=false,          % non-Latin characters in Acrobat’s bookmarks
    pdftoolbar=true,        % show Acrobat’s toolbar?
    pdfmenubar=true,        % show Acrobat’s menu?
    pdffitwindow=false,     % window fit to page when opened
    pdfstartview={FitH},    % fits the width of the page to the window
    pdftitle={My Title},    % title
    pdfauthor={My Name},     % author
    pdfsubject={Subject of Document},   % subject of the document
    pdfcreator={My Name},   % creator of the document
    pdfproducer={My Name}, % producer of the document
    pdfkeywords={Test} {Document}, % list of keywords
    pdfnewwindow=true,      % links in new window
}
share|improve this question
3  
I don't think you have any harm. Colorlinks can be other than black so that you have colored links in pdf. To make them black only while printing, please use ocgcolorlinks instead of colorlinks. –  Harish Kumar Jan 15 '13 at 22:43
4  
The main possibly negative impact is colorlinks (and other use of colour) if you are printing in monochrome this greys out all link text, and generally coloured links may be distracting in a format like paper where they are not active (but you can turn off colour for print versions without removing hyperref) –  David Carlisle Jan 15 '13 at 22:45
2  
To add to the isssues already mentioned, you have to remember that the URL's are gone in printing. E.g., I set up my bibliography style so that URL's are links on the title of references, because it looks much nicer, and noone will type those URL's by hand anyway. In a print version, I consider printing the URL's visibly. –  mafp Jan 15 '13 at 22:49
3  
The ocgcolorlinks option is marked experimental in the manual for hyperref, and at least on Linux (via CUPS) it prints in color (really grayish on B&W printer). –  vonbrand Jan 17 '13 at 2:06
5  
some third party pdf viewer tend to not behave properly with pdf documents that have thing for display and different things to printing. the most common example is the box around links: adobe reader will not print them while it will display then on screen, however packages such as linux viewer of the type of okular will print them. I suspect it is due to the underlying pango library not supporting these elements yet, but it is an issue. –  ArTourter Jan 17 '13 at 13:32

2 Answers 2

up vote 9 down vote accepted
+50

There is no harm in using hyperref for a document that will go to printing. To illustrate its flexibility should an issue occur, you could use any of the following options:

colorlinks - Gives color to your links or boxes off your links with colored borders

hidelinks - Hide all of your links, removing all the colors and borders

linkcolor - Set the color of all your links

citecolor - Set the color of all your citations

filecolor - Set the color of all your file links

urlcolor - Set the color of all your URL links

Given in RGB specification:

linkbordercolor - Set the color of your border around links

citebordercolor - Set the color of your citation borders

urlbordercolor - Set the color of your URL borders

In summary, the only foreseeable issue with hyperref and printing may be the colors it may impose on your document. Switching from color to grayscale is as simple as modifying a global setting in your document beforehand. There is no need to compile without hyperref when you can compile with hyperref on color and hyperref on black.

More information

share|improve this answer

It is necessary to use the hyperref package with colours because of its flexibility. When we cite a lot of references as well as figures, tables, the colour helps to recognize these elements in the document easily. And there is another usefulness that it allows to jump to any references what we need.

share|improve this answer
    
On screen links can be found by moving the mouse over the text area. Colour can often be distracting. –  Andrew Swann Nov 24 '13 at 11:08

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.