hyperref configuration

Wednesday, 15 February 2006 06:15 by CSchenk
The latest update batch installs a new hyperref.cfg which sets hdvips as the default hyperref driver. See this bug report, for more information.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Categories:   MiKTeX Packaging
Actions:   E-mail | Permalink | Comments (9) | Comment RSSRSS comment feed

Related posts

Comments

March 1. 2006 22:54

ytan

However, after this modifation, the dvi files created by LaTeX lost hyperlinks on my computer.

ytan

March 13. 2006 04:05

hoegholm

@ ytan: the driver chosen is meant to be for the end format. Hence if dvips is chosen you cannot rely on the links working inside YAP, which is a dvi previewer. Use the option "hypertex" with hyperref to make the links work in YAP.

hoegholm

March 13. 2006 07:39

ytan

Thank you very much for your suggestion. It works.

ytan

April 12. 2006 02:04

juan mari alberdi

It also works with me, including the 'hypertex' option was essential. It also solved another problem for me: the package 'subscript' which for some reason, after the latest miktex update the system was unable to find, now is OK.

juan mari alberdi

October 23. 2008 17:22

Golodh

Adding the option "hypertex" (as in \usepackage[hypertex]{hyperref}) did indeed work in that clickable links appeared in both Yap and the final pdf file.

Unfortunately the links were all encased in a box in the pdf file. I'm now trying to get rid of the boxes.

According to the manual, the option "colorlinks", or "pdfborder= 0 0 0" should do this. Only it doesn't.

I am now using the following options:

\hypersetup{
colorlinks=true,
urlcolor=cyan,
pdfborder= 0 0 0
}


Using the option "\usepackage[dvipdf]{hyperref}" allowed the option "colorlinks" to remove the boxes from the links in the final pdf output; the links were coloured (as they should be) but no longer clickable.


Is this a bug or am I doing something wrong? How do I get rid of those boxes around clickable links in the pdf output?

Golodh

January 9. 2009 18:05

ashish

Do the following to remove the borders
\usepackage{hyperref}
\hypersetup{
colorlinks=false,
linkbordercolor={1 1 1}, % set to white
citebordercolor={1 1 1} % set to white
}
For further information refer en.wikibooks.org/wiki/LaTeX/Packages/Hyperref

ashish

January 9. 2009 18:08

ashish

The above does not remove the boxes around url links. Here is an improvement.
\usepackage[pdftex]{hyperref}
\hypersetup{
colorlinks,%
citecolor=black,%
filecolor=black,%
linkcolor=black,%
urlcolor=black
}

This makes the links use colors inststead of boxes/frames, and sets the used colors to black. Fixed! Although this should be a standard convenience option imho.
(Following taken from the site: drakonen.com/.../}

ashish

July 14. 2009 04:23

pingback

Pingback from answerspluto.com

list of urls - 5 « Answers Pluto

answerspluto.com

September 11. 2009 17:27

Tecturon

Note that the given solution is only a hack. If you want to have clickable links in your PDF file that can vary in the text color (ever tried to set a blue text with the configuration provided by ashish?), then it is no good idea to simply make all hyperref colors black.

I do have a document where I place colored, linked text within a figure (thanks to the overpic-package!). So I needed a solution, since I 1. did not want these boxes to appear in my pdf and 2. wanted my links to be colored properly.

The hyperref-documentation seems to provide a solution. It mentions the package option "pdfborder". The description is not well specified, for it states that you can define the style of the boxes around links, but there is no description on how you can do it. The standard value is given with "0 0 1". However, I could find no description of what this means, and what other values are allowed.

If you define \usepackage[pdfborder=0]{hyperref}, then the boxes disappear AND the links are written in the color of the environment the link was set in. Actually, I tested some other values instead of '0', with always the same result: no boxes, native color.

Tecturon

Tecturon

Comments are closed