LaTeX forum ⇒ Text Formattinghyperref | Get rid of red Boxes around Links

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
psionman
Posts: 30
Joined: Thu Nov 10, 2011 3:33 pm

hyperref | Get rid of red Boxes around Links

Postby psionman » Mon Dec 12, 2011 6:23 pm

I am using the hyperref package, but when viewed with acrobat the hyperlinks appear in red boxes. I have
  1. \usepackage[colorlinks=false]{hyperref}

in my preamble. According to the hyperref wiki page the default for colorlinks is false, but I cannot get rid of them

Can anyone help?

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Dec 12, 2011 6:31 pm

You are confusing things. The red boxes (borders) you see in your PDF viewer are just marks, and not colored links. They will not appear in the printed document. Set »colorlinks=true« to see the difference. If you want to get rid of them also in the PDF output, try the »hidelinks« option. For details refer to the hyperref manual.


Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

psionman
Posts: 30
Joined: Thu Nov 10, 2011 3:33 pm

Postby psionman » Mon Dec 12, 2011 6:53 pm

Thanks localghost

I want to remove the ref boxes for screen viewings based on acrobat (my users complain :? ) even when it's embedded in (say) Chrome.

I've tried

  1. \usepackage[hidelinks]{hyperref}


but I just get the error

C:\Program Files\MiKTeX 2.8\tex\latex\hyperref\hyperref.sty(3528): Error: Package keyval Error: hidelinks undefined.

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Dec 12, 2011 7:01 pm

psionman wrote:[…] I want to remove the ref boxes for screen viewings based on acrobat (my users complain :? ) even when it's embedded in (say) Chrome. […]

That's absolutely clear to me. Get the latest version of the package by update of your TeX distribution. Get used to keeping your TeX distribution including its installed packages up to date. Will spare you a lot of trouble.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

psionman
Posts: 30
Joined: Thu Nov 10, 2011 3:33 pm

Postby psionman » Mon Dec 12, 2011 7:08 pm

Thank you -solved :D

bkarpuz
Posts: 124
Joined: Thu Dec 18, 2008 4:53 pm

Postby bkarpuz » Fri Dec 16, 2011 12:30 am

psionman wrote:I am using the hyperref package, but when viewed with acrobat the hyperlinks appear in red boxes. I have
  1. \usepackage[colorlinks=false]{hyperref}

in my preamble. According to the hyperref wiki page the default for colorlinks is false, but I cannot get rid of them

Can anyone help?


May be you are looking for \eqref*{} or \ref*{}?


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests