{hyperref} is a package capable of producing hypertext links in documents. If your question is about cross-referencing in general, choose {cross-referencing}. If it's specifically about PDF features, consider to choose {pdf}.

learn more… | top users | synonyms

1
vote
0answers
35 views

Making broken references extra visible, redux: interacting with BibTeX (or BibLaTteX)

In Making broken references extra-visible, I asked how to make LaTex's normal ?? and [?] markers for broken references instead render as some super-annoying, colored text, so that in skimming a long ...
0
votes
1answer
16 views

Wrong anchors in bookmarks and TOC

I am having some trouble with some anchors for sections, which automatically start at a new page. The TOC shows the right page numbers, where the PDF bookmarks show the page number of the previous ...
3
votes
1answer
51 views

Getting hyperlinks, bookmarks, and TOC all right

I'm having trouble getting all three of the hyperlinks, PDF bookmarks, and the TOC "right". The following gives me the correct visual styling: Appendices appears in the TOC as a "part", before the ...
2
votes
2answers
41 views

How to show URLs in a bibliography as (hyperlinked) stubs?

\label{References} \renewcommand{\bibname}{References} \lhead{\emph{References}} \bibliographystyle{abbrvnat} \bibliography{Bibliography} I want to have all urls in my references list to be ...
0
votes
0answers
18 views

Single link in (Author, Year) citation style using natbib and hyperref - Permanent implementation

natbib and hyperref with (Author, Year) style citations produces by default two links for each citation: one for the Author and one of the Year. In previous questions (here and here), Audrey was kind ...
1
vote
1answer
27 views

Error: option clash for package hyperref

I downloaded this master thesis format from the net, It was compiling without errors until I added this line \usepackage[bookmarks,bookmarksopen,bookmarksdepth=2]{hyperref}because I want to show the ...
0
votes
0answers
16 views

Hyperref warning when combined with package titlesec [duplicate]

How can one get rid of the hyperref warning about the $ signs in the subsection title that are generated in the following minimal example? \documentclass{book} \usepackage{titlesec} ...
0
votes
0answers
23 views

Using titlepage, multiple authors and hyperref with pdfusetitle not possible?

Following code: \documentclass[titlepage]{article} \usepackage[pdfusetitle]{hyperref} \title{Test} \author{Hans \and Karl} \begin{document} \maketitle \end{document} Will raise this error: ! Use ...
6
votes
2answers
135 views

Package hyperref destroy \leftmark and \rightmark with KOMA

I noticed, when I use \usepackage{hyperref} the left and right marks are destroyed. One can verify this by uncommenting hyperref in MWE below. Without hyperref With hyperref ...
0
votes
0answers
10 views

Hyperref - LaTeX - MPlayer - Video issue

Setting: I have multiple video players installed on my system e.g. VLC, MPlayer etc etc. What am I trying to do? I am trying to make a presentation using beamer, where there would be links to ...
5
votes
2answers
42 views

Is there an \autoref for “proof”?

I am using the proof environment and would like to use \autoref to hyperlink to the proof from the proposition, because the proof is in a later section. I cannot seem to find the right prefix for a ...
4
votes
1answer
34 views

Creating table using tabularx and datatool from csv file

I am trying to create a vocabulary list from a csv file containing the vocabulary using tabularx and datatool. This is what I have tried: \documentclass{article} \usepackage{datatool,tabularx} ...
4
votes
1answer
50 views

\ifnumequal{\thepage} does not work for the first paragraph on a new page

I use this code to prevent hyperlinks if the target of the link is presented on the same page as the reference: \newcommand*{\myref}[1]{\ifnumequal{\thepage}{\getpagerefnumber{#1}}{\ref*{#1}} ...
0
votes
0answers
31 views

Hyperref endnotes used to create the author queries

I am using hyperref endnotes to create a two way inter linking marginal note and author queries. I am using a lot of environments like vbox and hbox, tables, figure, equations, Box, multicol. But ...
3
votes
2answers
39 views

Tex does not compile when jointly using longtable, appendix, hyperref, and babel (spanish). Error: “! Argument of \@let@token has an extra }”

I have a problem with hyperref, longtable, appendix and babel (spanish) all together. TeX does not compile, with the following error: ! Argument of \@let@token has an extra }. <inserted text> ...
1
vote
0answers
44 views

Hyperref in verbose citestyle (Biber) not working

I am using hyperref and Biber's verbose citestyle for the bibliography of my Ph.D thesis. However, the hyperrefs for the bibliography does not seem to be working. Here is my set up : % !TEX encoding ...
4
votes
1answer
30 views

Hyperref chapter link anchors in two column mode

I am using the hyperref package to generate bookmarks and links for the table of contents. However, when rendering documents in two column mode the chapter link anchors are placed below the actual ...
1
vote
0answers
25 views

wrong links to page numbers in bibliography

The latex document (Thesis) has two set of page counting; roman for title page, TOC etc; and numeric page numbers starting from first page of first chapter. But this is causing wrong reference to ...
5
votes
1answer
41 views

tcolorbox autoreference

According to the answer posted by Thomas F. Sturm in this thread: http://tex.stackexchange.com/a/180000/62477 the next MWE should be able to use the autoreferencing name 'Voorbeeld' to my ...
7
votes
1answer
58 views

Automatically link identifiers in a code listing

I have some code listings (using the listings environment or the lstinline macro from the listings package) where I'd like to link all the identifiers defined in the present document to their ...
0
votes
0answers
34 views

Error trying to add hyperref support for table of contents

I am trying to add hyperlinks to my table of contents in Lyx so I can easily navigate through my document. When I go to Document < Settings < PDF Properties and check the Use Hyperref Support ...
4
votes
2answers
91 views

Error when writing the chapter number fifteen of the appendices (the letter ñ in the Spanish alphabet), when using the babel package spanish

I am currently doing a very long document in LaTeX (my thesis), and the structure of the document I'm writing the number Appendix fifteen, but as we know in Spanish the number letter fifteen is the ñ, ...
4
votes
1answer
32 views

Bold only \gls, not \glsdesc

How can I set \gls glossaries entries as bold, but not \glsdesc definitions? % arara: pdflatex % arara: makeglossaries % arara: pdflatex \documentclass{article} ...
5
votes
1answer
70 views

changing box color in hyperref

I wish to change the color of boxed links to red. But the code below still produces cyan links. What am I doing wrong? \documentclass{article} \usepackage{xcolor} \usepackage{hyperref} \hypersetup{% ...
7
votes
1answer
44 views

Why does hyperref complain about “token not allowed in a PDF string” in my glossary when I've set the default language?

I have a glossary defined with the glossaries package, and I use the hyperref package to control aspects of the generated PDF file. When I set the document's language with polygossia's ...
5
votes
1answer
82 views

Hide content to show later

My question appeared about this egreg's answer: http://tex.stackexchange.com/a/210564/15256 I have a list of exercise-answers but I don't want to show the answers immediately but after till I'll pull ...
1
vote
1answer
77 views

Linking to a place further forward

I know how to make a link to an URL or to a place further backward in a LaTeX document using the hyperref package. However, if I wish to redirect readers to a place further forward in the document, I ...
0
votes
1answer
69 views

Links in pdf not working?

None of the links I create work in the sense that they're not clickable. The preamble is this. \documentclass[a4paper,12pt,twoside]{article} ...
0
votes
0answers
8 views

Latex - Miktex cross references linking back to ref point [duplicate]

Using pdftex i can cross ref to a label say \ref{label1} for example. Clickin on it in the .pdf document you 'll be linked to the label. I'd like there to be a "back reference link" to the point that ...
6
votes
1answer
56 views

Getting an optional title with nameref and xparse

Suppose I defined an environment with an optional argument (using xparse) as in \documentclass{article} \usepackage{hyperref,xparse} \newcounter{exercisecounter} \stepcounter{exercisecounter} ...
0
votes
0answers
25 views

Classicthesis and LyX: Color of citation Author [#ID, p. 10]

I am using classicthesis with LyX. Usually, citations are colored in green. But when I choose the type Author [#ID, p. 10], that is, I add p. 10 in the Text afterwards box, the whole citation apart ...
3
votes
1answer
40 views

How to specify bookmark and TOC title separately

I customize a dash symbol \newcommand{\shortdash}{\rule[.7ex]{0.5em}{0.5pt}} to minimize the space around when typesetting in non-english situation. When I used it in \section, it works in text and ...
1
vote
1answer
13 views

hyperref with breaklinks option + hypdvips give unexpected output

Consider the following example: \documentclass[a4paper,12pt]{article} \usepackage[hmargin=2.4cm]{geometry} % to get margins which create a line break within the link ...
3
votes
1answer
45 views

links to theorem-environments take me to first page

I'm currently creating a big document in multiple TeX-files and used dozens of links to parts I put into theorem-environments. However, only some of the links do not work, they take me to the first ...
1
vote
1answer
19 views

Put \ref{} within \aaalphanum

I'm trying to ref a label using \ref and output an alphabetical letter (e.g. 'A') rather than the number (e.g. 1). I have read somewhere to use \AAAlphanum{\ref{my_label}} but this command fails ...
5
votes
2answers
47 views

Issues with using \nameref (hyperref) and \mdtheorem (mdframed) together

When using the \mdtheorem command (from mdframed) with \nameref (from hyperref), it seems that labels applied to an theorem made using \mdtheorem will not appropriately take the title given to the ...
6
votes
1answer
262 views

Beautiful table of contents with hyperref

I really don't like the red box which indicates a link. I would like to have some filled rectangle rendered which shows up when someone hovers. Obviously before the text gets rendered as you cannot ...
2
votes
1answer
19 views

Setting hyperref reference with xstring

I am trying to generate hyperref links programmatically, using xstring. For example, in the code below I would like \hyperref[reference\FirstNumber{1,2}]{first line} to be equivalent to ...
1
vote
1answer
35 views

Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
5
votes
1answer
45 views

How to apply Memoir manual's fix to allow \MakeTextUppercase in toc with hyperref

There is a known conflict between the memoir class and the hyperref package. hyperref cannot process Table of Contents headings that include the \MakeTextUppercase macro. The memoir manual (texdoc ...
8
votes
3answers
114 views

Ensure phantomsection doesn't occur at the bottom of a page

In my document I have boxes that cannot be broken across pages, and which therefore often leave blank space on the preceding pages. When I create a \phantomsection before one of these boxes, the ...
4
votes
2answers
52 views

Ask `\autoref` to display environment name without number

I'm using the memoir class and I define theorems with thmtools. Theorems often have a name, besides being numbered. I'm looking to write a \fullref command that outputs the name of the environment ...
0
votes
0answers
15 views

Autoref uses wrong name [duplicate]

Here is my MWE: \documentclass{amsart} \usepackage[all]{xy} \usepackage[colorlinks]{hyperref} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \theoremstyle{definition} ...
2
votes
2answers
52 views

Line thickness of links

Links coming from ref or gls are accompanied by boxes (I know about colorlinks and the possibility to switch them off). I somehow like the idea of the boxes but the lines are way to thick in my ...
3
votes
1answer
54 views

What is the correct load order for hyperref

I got an error with egreg's solution when loading hyperref and could produce the following MWE to demonstrate it: \documentclass{article} \AtBeginDocument{\bgroup} \AtEndDocument{\egroup} ...
2
votes
1answer
39 views

subcaption incompatible with backref option of hyperref

I have a problem with the subcaption package. It leads to backrefs to tables only being displayed as questionmarks. Minimal working example \RequirePackage{filecontents} ...
3
votes
1answer
39 views

pdf link does not work with latex/dvips/pstopdf execution

I have this simple LaTeX file: \documentclass{book} \usepackage{hyperref} \hypersetup{% linkcolor=blue, colorlinks=true,% hyperlinks will be black pdfborderstyle={/S/U/W 1}% border style with ...
3
votes
2answers
51 views

hyperref targets without \refstepcounter

I am trying to create a document-internal link using the hyperref package. At the position where the link should point to, I execute the following command (as part of the setup of a LaTeX ...
1
vote
1answer
25 views

pdf viewed with Adobe Acrobat displays box with URL link generated with hyperref preceded by local path to current file

I want (if at all possible) to suppress display of the path to the current open pdf file generated by pdflatex in a link generated with package hyperref. The problem occurs when the pdf is viewed with ...
0
votes
0answers
16 views

! Missing \endcsname inserted. Because of Turkish [duplicate]

When I try to build and view my .tex document. I get the error. I have viewed at the topics like the problem. How can I fix the problem ? Thank you for all appreciated answers. Error: ! Missing ...