Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get rid of the red box around hyperlink in PDF?

Tags:

pdf

latex

I have a pdf file obtained from the network and it has red boxes around links.

enter image description here

How can I get rid of them? How can I view the document without them?

P.S. Something that I found:

  • pdf is probably generated by latex,

  • non-commercial software is limited in modifying the document.

Update:

Facts disagree with the opinion that only author can change the way pdf looks. Below is an example of the same document in google chrome.

enter image description here

like image 684
Vladimir Protsenko Avatar asked Dec 21 '17 10:12

Vladimir Protsenko


2 Answers

The document in your screenshot seems to have been created with LaTeX.

If you have the source code of the document, you can disable those red borders around links using

\usepackage[hidelinks]{hyperref}

Here's the documentation on the package hyperref.

like image 124
Gary McHugh Avatar answered Oct 22 '22 18:10

Gary McHugh


Open it in Chrome browser. If there is no red rectangle anymore, then print it in the browser. Next change the option to "save as PDF". It works for me.

like image 4
Wenjie Zhang Avatar answered Oct 22 '22 18:10

Wenjie Zhang