Summary: | Links in document are highlighted in red while different link color specified | ||
---|---|---|---|
Product: | poppler | Reporter: | colbrac |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | minor | ||
Priority: | low | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | pdf made with pdflatex, utilising hyperref package setting options for links in black without boxes |
Description
colbrac
2007-11-28 03:04:21 UTC
the linked url gives a 404 can you please attach the pdf to the bug so that does not happen anymore? Created attachment 13800 [details]
pdf made with pdflatex, utilising hyperref package setting options for links in black without boxes
Possible work around for latex: Instead of: \usepackage[ colorlinks={false}, pdfborder={000}, ]{hyperref} Use: \usepackage[ colorlinks={true}, linkcolor=black, citecolor=black, filecolor=black, urlcolor=black, ]{hyperref} So instead of no color links and a white border, use colorlinks (which automatically disables the border) and define all colors as being black. Tested with pdftex on windows (miktex 2.6) and linux (texlive-full, ubuntu 7.10). It's actually not our bug, so please go and tell the pdflatex people, they create the Link with /Border[000] but border needs to be at least a triplet of numbers, so we fall back to the default value specified in the pdf reference [0 0 1] (where 1 is border width) They should be generating /Border[0 0 0] for the no border case. Thanks for the comment! I will take my bug to them. ;) Now that i see, maybe it's your bug, could you change your pdfborder={000} to pdfborder={0 0 0} and see if it works? You are correct! Spaces are a necessity. Thanks for the swift response. This saved me another non-bug bugreport which was reported save the account creation process. :P So for all people wandering by: The short way to have invisible links in your document: \usepackage[ colorlinks={false}, pdfborder={0 0 0} ]{hyperref} mind the spaces in {0 0 0}!!! Longer solution which allows for coloring specific link types: \usepackage[ colorlinks={true}, linkcolor=black, citecolor=black, filecolor=black, urlcolor=black, ]{hyperref} which defaults to no border so no pdfborder option needed. Once again thanks for the help guys! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.