{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
2answers
18 views

Changing color of cites with hypersetup not working

I'm trying to change the colors of my cites. I would like to get a light blue color for them. I tried using hypersetup but it seems not to work. Here is my MWE: ...
2
votes
1answer
35 views

Table of contents not working

My document is failing to generate a table of contents. This is the latest MWE suggested by Nickie (perhaps messed up in translation, I don't know). When I compile this in TeXworks using pdflatex, ...
4
votes
2answers
59 views

Bad hierarchy given to \appendix by hyperref

Here is my problem: in this document, the appendix appears as a chapter inside "part two", but I would like it to appear after this part, as it is an appendix! Everything is alright in the table of ...
4
votes
2answers
19 views

How to \show the code of the command \autoref? [duplicate]

Edit: I think this is a duplicate of How can I see the "implementation" of the \LaTeX command? . I wanted to see the code for the hyperref \autoref command, so created this simple document: ...
5
votes
1answer
15 views

Repeated “Label(s) may have changed” when using \catcode`_=12 underscore hack with hyperref

This MWE produces repeated Label(s) may have changed warnings despite the output files not changing. The same problem has been discussed in How to diagnose a permanent "Label(s) may have ...
4
votes
2answers
34 views

Adding a symbol inside the link to a reference

I'm trying to add a symbol (like an arrow) behind a reference, editing the \ref command, something like that: \documentclass[a4paper,12pt]{report} \usepackage{graphicx} \usepackage{hyperref} ...
1
vote
2answers
23 views

\phantomsection inside tabular: alignment problems

I would like to use \ref and \label for two lines in a table, which can be done using \phantomsection: \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \begin{document} ...
0
votes
0answers
9 views

Local hyperlinks broken after ghostscript compression

I usually compress my tex pdfs with ghostscript: pdflatex -shell-escape file.tex gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH ...
0
votes
1answer
23 views

cross reference? [duplicate]

I can reference a figure (or table) from text using \label(fig:example) between \begin{figure} and \end{figure}, and using \ref(fig:example) within my text. However, my figures are at the end of my ...
1
vote
0answers
26 views

Use \url with pipe argument delimiter - in hyperref?

Basically, I have a bibtex field like this, where bibtex concatenation with # is used with a bibtex string variable: @String {mylink = "http://tex.stackexchange.com"} ... note = "At link " # mylink, ...
0
votes
0answers
16 views

referring to a local pdf in latex error

I'm trying to link a local pdf in my latex document, I'm using the hyperref package and \href{run: Operation.pdf } command, in the output pdf when i click on the link, I get this error message: ...
3
votes
1answer
38 views

Using \ref in tikzpicture node while using externalize

Here's the MWE: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{pgfplots} \usepgfplotslibrary{external} \tikzexternalize[prefix=extfig/] \begin{document} \begin{equation} a = b ...
0
votes
0answers
29 views

Content of including PDFs [duplicate]

I have some little problem with my file. There are lot of included PDF files, without any \caption and \section. I need to create a table of content with these PDF files and function hyperref. Can ...
0
votes
0answers
12 views

How do I get rid of the red boxes [duplicate]

How do I get rid of the red boxes generated around the hyperlinks of cross-references, citation etc. It is also making the report dirty especially the 'table of content' part. Will it appear in the ...
1
vote
1answer
21 views

link incorrectly to a figure

Let me describe. I have a document with figures and I refer to them correctly by using \label and \ref. Now I add an appendix and reset numbering for figures in the appendix with ...
4
votes
1answer
35 views

Subequations with varioref and cleverref

Can somebody tell me why the references don't work in this example? \documentclass{article} \usepackage{varioref} \usepackage{hyperref} \usepackage{cleveref} \usepackage{amsmath} \begin{document} ...
4
votes
1answer
81 views

Run a shell script (with parameters) from a PDF generated by LaTeX

I want to have a link in my PDF generated by pdflatex which executes a shell script, and this part works great. The problem I am running into is that I need the link in the PDF to be able to pass ...
3
votes
1answer
42 views

URL with dotted/customized underline AND line breaking

How can I get a dotted URL underline with line breaking? I found this solution: Having all links underlined with dotted line but this TIKZ one does not work with line breaking. I also tried a ...
0
votes
1answer
22 views

How to remove the unnecessary prefix from the Bookmark section?

I am writing thesis using my university's thesis class file. I am using the following command in preamble to get PDF bookmarks. \usepackage[hidelinks, bookmarks]{hyperref} I am getting unnecessary ...
1
vote
1answer
23 views

Problem with email address in \href

I have a problem with \href. I define an email address with \newcommand{\Authoremail}{author@example.org} but when I use \href{mailto:\Authoremail}{\Authoremail} and click on the link in the PDF, the ...
0
votes
1answer
20 views

includepdf addtolist label not working

When I include PDFs in the annex, the label gets not set correctly. In the list of tables the link appears correctly, but clicking it brings me to the first page of the document. The link in the ...
2
votes
1answer
26 views

Correct ordering of xr-hyper, hyperref, and cleveref

I want to use \cref, external documents, and hyperrefs. Take the following file, label it main1.tex and compile it: \documentclass{article} \usepackage[capitalise,noabbrev]{cleveref} ...
-1
votes
0answers
32 views

hyperref options `pdfmenubar=false` and `pdfwindowui=false` not working when used together

I'm trying to use hyperref options pdfmenubar=false, pdftoolbar=false, pdfwindowui=false so that my pdf document will appear in a bare, minimal window when opened with Acrobat Reader. Example code is: ...
3
votes
1answer
45 views

Special \cref display for \externaldocument

I am using cleveref pointing to equations within my document, as well as to a technical appendix in a separate file (loaded by \externaldocument) Setup Lets that the the first file was in main.tex, ...
0
votes
0answers
29 views

Extending the hyperlink for backref in biblatex

I am currently trying to improve my bibliography for my LaTeX article. I am using \usepackage[hyperref=true, backref = true, sorting = none, backend=biber, style = authoryear]{biblatex} for my ...
2
votes
1answer
34 views

Distinguishing \ref and \cref through different colors

I have the following problem with the hyperref, and the cleverefpackages. I would like to distinguish internal links (e.g. sections, etc) from mathematical links (e.g. definitions, theorems, ...
23
votes
4answers
1k views

Best practices for publishing computer code with LaTeX?

I work a lot with MATLAB, and I want to enable the reader of my paper to easily reproduce my computations. I also want the pdf document to be self-contained, i.e., no hyperlinks to a webpage on which ...
3
votes
1answer
47 views

problem with `hyperref` and TOC

I added "chapter" word to my TOC, but when i use package hyperref,this word remove from TOC. this is my code: \documentclass{book} \usepackage{etoolbox} \usepackage{hyperref} % if commented all fine ...
7
votes
1answer
37 views

Completely remove page numbers, including inside TOC references, using bullet sections

I'm taking study notes in latex and I want to read it in my kindle. So far I was able to get very good results using: \documentclass[ebook,oneside,openany,17pt]{memoir} ...
0
votes
1answer
25 views

refer equations across chapters

I want to refer equations and figures from the previous chapters(showing in structure). I have to find the label from that chapter each time which is consuming more time. I want pop ups for all ...
6
votes
2answers
35 views

Hyperref compatability with automatically bolded first sentence of float caption float

I am able to automatically make the first sentence of a float caption bold by following the approach given at Automatically bold first sentence of a floats caption. However, when I use the hyperref ...
2
votes
0answers
24 views

Hyperref and finding the correct reference

I am using the hyperref package to make hyperlinks in a PDF document. Sometimes the targets aren't clear because there is a lot of information on each page. Is there a way to make the hyperlink do ...
0
votes
1answer
37 views

Error with chemstyle when convert eps to pdf through TEX root - hyperref problem

I'm working on my thesis using chemstyle. The numbering and the scheme work fine in memoir class when epstopdf package is not use. Here's the code that is working. \documentclass{memoir} ...
2
votes
1answer
30 views

How to set up authors in LNCS template?

I would like to setup the authors and emails in a LNCS paper, but I dont find what is the correct way to do this. I tried this: \author{FirstAuthor LastName, Second Author LastName} The problem is ...
1
vote
1answer
38 views

Package hyperref doesn't work anymore - break down

I'm working on a documentation for several weeks. To link the table of content with the text of the document I was working with the package hyperref. Until today everything went fine. Today I ...
2
votes
1answer
43 views

Referencing formula before defining it

I'm writing a scientific article and I would like to reference a formula before it appears in the text. In principle it should work, the problem is that I want to use the hyperref package, so that I ...
0
votes
0answers
20 views

Hyperref Links in Tables [duplicate]

This is my first question so bear with me :) I have a few tables in my document which contain refs or cites. They are streched to look a bit better. When using the hyperref package, the links take up ...
1
vote
1answer
47 views

Too long section title in table of contents by using hyperref

Some of titles are too long, and when I make the table of contents by adding the \usepackage{hyperref}, one line is not enough for them. When I add the \usepackage{hyperref}, the titles are out of the ...
1
vote
0answers
13 views

pdfTeX warning (dest): name{environment.1.1} has been referenced but does not exist, replaced by a fixed one [duplicate]

I get a warning with this minimal code pdfTeX warning (dest): name{exercise.1.2} has been referenced but does not exist, replaced by a fixed one And the reference \ref{a} points to the wrong ...
0
votes
0answers
21 views

How to make hyperref work with bibitem keys containing a colon and using babel french option?

As seen in this thread, the \cite command bugs when the selected language is French and a bibitem key contains a :, which is an active character in babel french. Indeed, concerned hyperlinks always ...
4
votes
1answer
51 views

Color for subsequent punctuations marks

I use the following code for coloring the brackets of the references in my text. This works fine also for the commas and hyphen in-between the brackets. However the colors for the subsequent ...
0
votes
0answers
27 views

Conflict of backrefalt for bibliographies at end of each chapter (using natbib and chapterbib)

I want to have the bibliographies at end of each chapter and still have the cross-reference on the reference list stating "Cited on pages:" using natbib and chapterbib packages. To compile the ...
0
votes
2answers
19 views

Hyperlinks in References not linking properly

When making my document, in the bibliography at the end of each item there is a hyperlink to the page where the item was cited. But when I make the preamble in roman numbers the TOC may work fine, but ...
4
votes
1answer
21 views

autoref to dmath (from breqn package) generates wrong link text

In the following minimal example, what is wrong with my dmath equation? Why does hyperref call it a Figure, while autoref gets the link text correct for an equation defined with \begin{equation} ...
0
votes
0answers
16 views

Color of hyperlinks in minitoc

I have changed the color of linkcolor=Maroon in \hypersetup{}. In the TOC the color is correct, but in the minitoc it is still blue. How can I get the Maroon linkcolor in the minitoc?
1
vote
2answers
46 views

Hypertext with comments?

I want to pick up an hyperref with the drawback that it contains % http://es.wikipedia.org/wiki/Lept%C3%B3n Is there a way to kick % out?
0
votes
0answers
53 views

I have a checkbox, but it does not print the answer

I need a checkbox with an "X" in it when checked. With the code I have right now, I can see the X, when I check it in Adobe reader, but it does not print the X. Also, the X is only visible, of I click ...
0
votes
1answer
34 views

Renumbering chapter after part, correct ref, ToC and chap header aspect

The title may seems unclear. I have a document with several parts, including several chapters. I want the numbering of the chapter to be reset after each new part (easy) BUT : - I want the header of ...
3
votes
1answer
44 views

Missing natural names with \autoref in Beamer. A beamer bug?

Using hyperref and beamer together, I encounter the following problem. Command \autoref which is supposed to add the name of the referenced item, does not work. Here is a minimal example that ...
0
votes
1answer
44 views

Is there a way to delay the setting of hyperref hypersetup values?

I have a situation where the document title is set later, wrapped in another command (it has to do with language versions). Hypersetup load order I would like to put the new title into the ...