{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

3
votes
1answer
28 views

acro: show long acronym name in PDF bookmark

I am using the package acro. I have the following acronym: \DeclareAcronym{SDP}{ short = SDP, long = Sequential Decision Process, long-plural-form = Sequential Decision Processes, class = ...
1
vote
0answers
28 views

Cross-referencing page numbers between two documents

I have two documents which I will subsequently merge (i.e. I will merge .pdf’s). In order to do that I have two issues to resolve, both have to do with cross-referencing. First, I use firstpage and ...
1
vote
0answers
39 views

Using Hyperref in LyX - PDFLaTeX Hebrew

In the past year or so I have been using LyX in Hebrew with the Hebrew Article document class, with the PDFLaTeX format. Lately I found the Hyperref package, and with a single click all non-Hebrew ...
0
votes
1answer
31 views

How can I make hyperref with “bookmarksnumbered=true” number the parts in conjunction with classicthesis?

I am using classicthesis. If I pass bookmarksnumbered=true to hyperref, everything but the parts is numbered nicely in the PDF bookmarks. However, I would like to see the parts numbered in the same ...
3
votes
1answer
47 views

autoref for algorithms

\usepackage{algorithm,algpseudocode} \usepackage{hyperref} So when I \begin{algorithm} \caption{Baseline}\label{ALG_baseline} \begin{algorithmic}[1] ... \end{algorithmic} \end{algorithm} the ...
1
vote
2answers
45 views

Why does a new page disrupt \hypersetup, and is there a workaround?

There is some strange behavior with new pages (thanks to David Carlisle for noting that it is is not only \clearpage) in that disrupts the ability to \hypersetup later in the document. I generate my ...
0
votes
1answer
30 views

Redirect citation link to custom location

I am writing a thesis with appended papers which I include using the pdfpages package. I am using biblatex for referencing and hyperref for hyperlinks. In order to refer to the papers in the thesis, ...
4
votes
1answer
41 views

% and non-ASCII characters in headings

It appears that a % together with some non-ASCII characters on a heading is causing problems for hyperref in xelatex. Here's a minimal working example: \documentclass[]{article} \usepackage{hyperref} ...
2
votes
1answer
53 views

TOC, Chapter Toc, and Appendix misfunctions

The attached image shows the problems in an almost MWE: In TOC, the appendices are called Chapter instead of Appendix Much worse is that the sections in the Appendices find their way in the Chapter ...
0
votes
1answer
40 views

Inserting hyperlink in CV

I am making a CV on Overleaf and and under one section I want to insert a hyperlink. But when I try out \hyperref it gives an error as LaTeX Error: Can be used only in preamble. Here's the ...
1
vote
1answer
60 views

I need some help ordering these imports so the hyperref package works properly

I am writting my first Latex document. My document is now 140 pages long and I thought that making the table of contents clickable would be a good idea. I use ShareLatex to compile my code. I imported ...
0
votes
1answer
33 views

How to add a reference?

The package \usepackage[bookmarks=true]{hyperref} Doesn't work to create a colored reference on my note. The template I am using is this one \documentclass[11pt,twoside,openany,x11names,svgnames]{...
4
votes
1answer
26 views

Is it possible to get both pdf bookmarks and hyperref for index links?

I loaded both the bookmark and hyperref package, but when I have them both the index links don't work. When I comment out the bookmark package the index links work, but the bookmarks don't. How do I ...
1
vote
1answer
32 views

How to use normal label within a custom command for a definition of hypertarget?

I want to make a command that defines a \hypertarget with the target label (first argument of \hypertarget) by the contained \label and the target caption (second argument of \hypertarget) by its ...
2
votes
2answers
44 views

How to achieve custom paragraph (or in general section) numbering and allow references?

I used the command getcurrentref from this question/answer to achieve a custom numbering when \paragraph is used. I wrapped it into the macro: \newcommand\mybook[1]{\paragraph{B \getcurrentref{...
2
votes
0answers
41 views

How to reference sections in other chapters mentioning the chapter?

I have an article class document with a structure like this. Part A Section 1 Section 2 Part B Section 1 Section 2 I want to reference Section 1 in part A from Section 2 in part B. When I ...
2
votes
1answer
39 views

tex4ht removes spaces in href description in LUA mode when using mathdesign package

Any idea why this MWE \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath,mathtools} \usepackage[bitstream-charter]{mathdesign} \usepackage[utf8]{inputenc} %DO NOT USE WIT LUALATEX, ...
0
votes
0answers
20 views

Coloring citations in the text

(possible duplicate) hi, i try to color my citations using hyperref package. here is my preamble: \usepackage{geometry} \usepackage{setspace,scrextend,sectsty,microtype,endnotes,xcolor} \usepackage{...
4
votes
1answer
34 views

How to use \nameref on a element of a tocloft custom list?

I am using the tocloft package to create a new list "question" and I would like to use \nameref (from the \hyperref package) to manually list questions (not using \listofquestion) at some point in my ...
1
vote
2answers
73 views

How can I manually create a hidden bookmark (PDF anchor)?

I would like to create invisible bookmarks/anchor points in my PDF. I want something like \pdfbookmark but with an invisible parameter. Does this exist? After experiments and reading, I determined ...
5
votes
5answers
159 views

How to style href's (underlined and coloured) throughout the document

Let's take the following MWE: \documentclass{article} \usepackage{hyperref,xcolor} \begin{document} \href{http://any-URL}{\color{blue}{\underline{Some URL}}} \end{document} Let's assume I would ...
2
votes
2answers
131 views

How to be able to use the number sign (#) in the URL of an underlined href

This question is very brief: how to be able to use the number sign (#) in the URL of an underlined href? \documentclass{article} \usepackage{hyperref} \begin{document} 1 (without \#, link, ...
1
vote
1answer
77 views

directed to middle of page instead of start

I'd like to include some pdfs in my file and make a table of contents with hyperlinks to the individual pages. I almost got it to work with \phantomsection and \addcontentsline however if i click the ...
4
votes
1answer
78 views

Why does \usepackage{amsmath} break \hyperref in \textnormal?

In the following sample, the second link isn't hyperlinked: \documentclass{article} \usepackage{amsmath} % Removing this makes the second link work \usepackage{hyperref} \begin{document} \...
5
votes
1answer
75 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} \usepackage{enumerate,enumitem,textcomp,...
4
votes
1answer
50 views

Hyperref referring to the wrong label

I have this code in LaTeX and I am dealing with some dynamic work with labels and references. This code works - first reference references to the first text and second to the second but I want to ...
1
vote
0answers
33 views

how make a windows link to directory that contains a % (href)

I've been trying to make a link to this directory href{%AppData%\Microsoft\Windows\Start}{Start Items} But everything following % is considered to be a comment. Is it possible to make it work? ...
1
vote
0answers
48 views

Hyperref and description environment

I am trying to put an hyperref command inside an item name in the description environment. The following MWE works as expected (this is what I am trying to achieve!): \documentclass{article} \...
0
votes
0answers
9 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored [duplicate]

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} \usepackage{enumerate,enumitem,textcomp,...
0
votes
1answer
30 views

Raising the hypertarget of chapter labels

When using twocolumn mode, it is a known issue that references to chapter headings point to the baseline rather than the chapter heading. In a previous question, I asked how to fix this for the ...
2
votes
1answer
42 views

How to make labels remember chapters?

I am using the amsbook package and the hyperref package. When say a definition is stated in Chapter 9, Section 3, Subsection 2, it is called "Definition 3.2", and when the hyperref package is used, it ...
3
votes
2answers
42 views

PDF plain text for a macro with a starred version

I'm typesetting a document with PDFLaTeX. In some section titles, I use a macro which has a starred version. In the PDF index (the table of contents that PDF viewers typically show in a side pane), I ...
2
votes
1answer
27 views

How to Use Fillable Checkboxes from Hyperref with Lists

I would like to create a fillable PDF form with a list of items that each have a checkbox to its left. It would look similar to this: \documentclass[11pt, letterpaper]{article} \usepackage{enumitem}...
2
votes
1answer
37 views

\autoref from hyperref not showing correct theorem label

I am writing some lecture notes for a course on overleaf. \documentclass[a4paper,11pt,openany]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,amsthm} \usepackage[colorlinks=true]{...
1
vote
2answers
26 views

Problem with cross-referencing using hypertarget

I have some problems related to the application of an answer that I received to a previous question of mine, that can be found here. Below there is a MWE, where I used \clearpageextensively, because ...
0
votes
0answers
10 views

Anchor position for the `hyperref` links to `subfig` subfloats

The package caption together with hyperref allows to make links to figures point to their top instead of to their caption. What about links to subfloats when using the package subfig? I'm using this ...
1
vote
0answers
15 views

Lyx cannot generate hyperlinks as references

This question is related to this one. I have a bibtex file containing a number of references some of which are only links to a number of domains. The entries in the .bib file are of the form: @Misc{...
1
vote
0answers
42 views

Package hyperref causes a blank page to be added before a section starting with a large image

When I try to have a section start with a large image, an extra page is added before the start of the section. I tracked down the problem to the hyperref package; when it is not loaded the extra page ...
2
votes
1answer
33 views

MakeIndex fails to locate some index items

I use makeidx package to create an index, but some index items fail to be located in the right pages. For example, an index in 1st page of body text will be located to the cover after clicking the ...
2
votes
1answer
37 views

Create PDF bookmarks automatically with ntheorem

Is it possible to automatically create PDF bookmarks with ntheorem's headers? Example: \documentclass[a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[hyperref]{...
1
vote
0answers
19 views

How to use \hyperref to change font color of citation? [duplicate]

When I use hyperref with natbib, it creates a boxed link to my bibliography. Is there any way to not create the box but show the cited paper with a different color instead. For example,
0
votes
0answers
18 views

How to Hyperlink Image in Table to go to a WEBSITE? [duplicate]

I would like to know how to hyperlink an Image to go to a WEBSITE? Not how to go to another section.
2
votes
1answer
27 views

hyperref and theorems counted by subsection- “pdftex warning (ext4) destination with same identifier”

I have got some problems with hyperref and theorems labeled by subsections: To get the theorems labeled correctly I manually reset the thm counter also at the beginning of new sections. But then I ...
2
votes
1answer
52 views

References to figures has bad hyperlinks

In my LaTeX document I have some figures. They are automatically numbered using the chapters they are within, for example. Fig 1.1, Fig 2.3 etc. I am using mwart document class. My problem is that the ...
1
vote
0answers
28 views

bibentry vs. pagebackref option of hyperref within bibtex

There's a clash using the following minimal example with pdflatex and bibtex \documentclass{article} \usepackage{bibentry} \usepackage[pagebackref=true]{hyperref} \nobibliography* \begin{document} ...
0
votes
1answer
49 views

Specify Color for autoref Without Affecting Other Document Links

I am creating a document to be used by people not familiar with TeX. I am using the autoref command throughout the document to refer to tables, figures, etc. I would like to clearly signal to my ...
1
vote
1answer
44 views

hyperref, titletoc and \appendix

I provide here a MWE: \documentclass{article} \usepackage{titletoc} \usepackage[colorlinks=true ,urlcolor=blue ,anchorcolor=blue ,citecolor=blue ,filecolor=blue ,linkcolor=blue ,menucolor=blue ...
5
votes
1answer
13 views

Why does using achemso turn off bookmarks?

I like using sections as bookmarks when editing. However, when I use achemso it turns these off. MWE1 produces bookmarks properly. %\documentclass[journal=cgdefu]{achemso} \documentclass{article} \...
0
votes
0answers
72 views

Package hyperref Warning: Suppressing empty link

I am using SIGCHI Latex format at https://github.com/sigchi/Document-Formats However, when I tried to refer to a label We will discuss in Section \ref{my_label} ... \section{bla bla} \label{...
2
votes
1answer
37 views

\hyperref and modified \addcontentsline

I'm using hyperref (and titletoc) package(s). I redefined \appendix that way \newif\if@appendix\@appendixfalse \renewcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% \gdef\...