{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

0
votes
2answers
10 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 ...
1
vote
1answer
23 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, ...
2
votes
0answers
27 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 ...
0
votes
0answers
11 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} ...
1
vote
2answers
50 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 ...
4
votes
1answer
31 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 ...
2
votes
1answer
33 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} ...
1
vote
1answer
59 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 ...
5
votes
5answers
147 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
125 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, ...
2
votes
1answer
433 views

pdfx - package leads to non-working hyperref links

I want to produce a PDF/A-1b compliant document. I am using pdflatex (MikTex 2.9) and TeXnicCenter. On the web, I've read that the "pdfx" package is the best way to do this. I installed pdfx according ...
5
votes
1answer
50 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} ...
4
votes
1answer
68 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} ...
0
votes
0answers
7 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} ...
1
vote
0answers
41 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} ...
1
vote
2answers
113 views

Error when adding xmp metadata with xelatex and pdfx

I want to create a pdf according to the PDF/A-1b standard with xelatex and pdfx but I get an error message now when I add my metadata. Using XMP template file: pdfa.xmp ! Argument of " has an extra ...
4
votes
2answers
321 views

pdfx option clash inputenc + fontenc + hyperref

I want to compile my .tex file with pdflatex but get an option clash, since I load pdfx to get a PDF/A-1b compliant file. This is part of my header: ...
10
votes
1answer
349 views

XeLaTeX, hyperref and PDF/A

I am finishing my doctoral dissertation using XeLaTeX and facing the requirement to submit a PDF/A compliant document. First, I want to emphasize that I have found and read several related posts ...
4
votes
1answer
47 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
30 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? ...
0
votes
1answer
23 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
37 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
41 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
25 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} ...
2
votes
1answer
23 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} ...
1
vote
2answers
21 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 ...
14
votes
5answers
16k views

How to allow line break in a long hyperlink in a PDF compiled by latex-dvips-ps2pdf?

I am using latex-dvips-ps2pdf steps with -Ppdf option passed to dvips. The following code snippet \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage{breakurl} ...
0
votes
0answers
19 views

Anchor position for the `footnotebackref` links to footnotes

I discovered the package footnotebackref through StackExchange but I found something I didn't like about it: there seems to be no way to select the text to be footnoted (~ \footnote{read this ...
0
votes
0answers
9 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
12 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: ...
2
votes
1answer
23 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 ...
1
vote
0answers
36 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 ...
20
votes
2answers
3k views

How to prevent \url from removing the spaces in a path?

The following code \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{"a b c.tex"} one two \end{filecontents*} \usepackage{listings} \usepackage{hyperref} \begin{document} ...
2
votes
1answer
41 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
18 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
15 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.
1
vote
1answer
23 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 ...
3
votes
1answer
896 views

How could you make an image a hyperlink to a section in a LaTeX document?

I'm fairly new to latex and am currently working on a few articles as practice before I use it for more official documents. In my current document, I am attempting to make a table of icons (png ...
3
votes
1answer
69 views

tikzposter and doi package conflict?

When using the doi package with tikzposter, I get the following error when compiling with pdflatex: ! LaTeX Error: Can be used only in preamble. See the LaTeX manual or LaTeX Companion for ...
2
votes
0answers
21 views

Hyper-linking in BibTex references

I use BibTex library for adding references and for hyperlinking references I use following technique: @article{coggeshall1992group, ...
1
vote
0answers
14 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
44 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
31 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 ...
54
votes
1answer
24k views

How to make clickable links and cross-references in pdfs produced by LaTeX?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.
5
votes
1answer
12 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} ...
2
votes
1answer
32 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}% ...
0
votes
0answers
30 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} ...
0
votes
1answer
26 views

How to insert a linkedin logo to my document that also acts as a link to my profile [duplicate]

I would like to insert a linkedin logo to my document that also acts as a link to my profile. Here's my code \documentclass{article} \usepackage{hyperref} \usepackage[demo]{graphicx} ...
2
votes
1answer
19 views

Difference between \autoref and \autoref* (autoref star)

I know the difference between \ref and \autoref, yet I don't know the exact meaning of \autoref*. I think that I've read about it some time ago and that it has something to do with the link type in ...
3
votes
1answer
55 views

problem breaking URL when using tex4ht only

This problem only shows up when compiling to HTML. I have some long URL's and a URL with underscore do not break inside table when compiled to HTML as it does when compiled to PDF. I tried all the ...