Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hyperref]

{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}.

0
votes
2answers
29 views

Aligned TOC with titletoc

I'm trying to get my toc build with the titletoc package as I'm using it to do other content tables with it. I get it to work almost like i want it to, but i have some issues: First of all i have do ...
1
vote
1answer
18 views

Strange error of compilation with beamer, extract and \hyperref package

I noticed a strange error of compilation. After multiple tests, I noticed url and \href{}{} from hyperref package systematically generated the following error main.tex, line 31 Runaway argument? ...
0
votes
0answers
12 views

How to autoref to tables and figures and back to section or page

I can create a reference to a table or figure using \autoref{mytable} but I can't find a way to jump back to the original section or page. I would like to find a way to jump back to a section just ...
0
votes
0answers
14 views

hyperref: Display the destination tag

Is it possible to alter the hyperlink definition in hyperref package such that on mouse-over it shows (tooltip or otherwise) the name of the destination label? There are a few answers where a tooltip ...
3
votes
0answers
38 views

Type uneven number of curly braces '{' '}' in URL

My question is somewhat similar to this one: Type '{' '}' in url However, how can I write an uneven number of curly braces, e.g.: \url{http://example.org/foo/\{bar} The only working ...
2
votes
1answer
43 views

biblatex: Hyperlink entire bib entry to DOI, URL or ISBN if available

This is kind of a combination of two questions and then I have a bibliography style problem on top of that. I would like to make each bib entry into a hyperlink with the priority: 1. DOI, 2. URL, 3. ...
3
votes
2answers
90 views

How to disable nesting in hyperrefs?

Is there a way to disable nesting in hyperrefs? Here is an example: \documentclass{article} \usepackage{hyperref} \usepackage{nameref} \begin{document} \tableofcontents \newpage \section{One} \...
0
votes
0answers
14 views

how to fix Hyperref.sty error in Willey latek file?

how to fix hyperref.sty error line4374 hyperref: Wrong DVI mode driver option 'dvips',(hyperref) because pdfTex or LuaTeX is running PDF model .\ProcessKeyvalOptions{Hyp}
1
vote
1answer
51 views

No hyperref funktion in externalized TikZ picture

I'm a bit confused as I read the TikZ manual. Is there a opportunity to hyperref out of an externalized TikZ graphic into the main document? When I compile the following code with pdflatex and --...
2
votes
2answers
29 views

Label for the subcaption containing square brackets isn't acting nicely in the figure caption

I often have to use "[" and "]" in various labels when cross-referencing items with formulas of inorganic complexes. Everything worked fine until I noticed a problem with \subref{...} of the ...
0
votes
1answer
38 views

conflict between \include and the \hyperref package

In the MWE below, an error is thrown by the command sequence pdflatex mwe ; pdflatex mwe when mwe.tex is \documentclass{amsart} \usepackage{hyperref} \includeonly{} \begin{document} \include{refFile} ...
0
votes
0answers
18 views

Using xr-hyper with Bibliography

Is there a way in xr-hyper to use \cite{<ref1>} in order to reference to the bibliography of the source file?
0
votes
0answers
28 views

arXiv stamp url not clickable under pdflatex

When I submit a paper on arXiv, some elements are ugly, see Ugly overlines on arXiv (and elsewhere). This does not occur with pdflatex, so the solution is to include \pdfoutput=1 line at the beginning ...
2
votes
0answers
40 views

itemize/enumerate - how to turn the very first \item of the environment, including the bullet/item-number, into a hyperlink?

When in LaTeX2e using the hyperref-package, you can apply the command\hyperref[⟨referencing-label⟩]{⟨tokens that form the text of the hyperlink⟩}for turning phrases of text ...
5
votes
1answer
47 views

Conflict between appendix, bookmark, hyperref and magyar babel due to utf8 chars

I tried to use babel with the magyar language along with the package appendix and hyperref. There is an issue with the warnings of magyar babel and a I also had a similar problem to that one when one ...
1
vote
1answer
31 views

\footnoteref (= modified \footnotemark) works perfectly fine *outside* of chapters but not within them

Because I need a reference to the same footnote, I like to use \footnoteref which is defined here. Writing \documentclass[12pt,a4paper]{report} \usepackage[british]{babel} \usepackage[utf8]{inputenc}...
0
votes
0answers
22 views

Footmisc and Hyperref

The following is a solution for having multiple footnotes separated by commas when using both the footmisc package (with option multiple) and the hyperref package. How can this be adapted to also ...
1
vote
1answer
31 views

AASTEX62 doesn't allow pdf to contain a table of contents.

I am trying to compile a pdf from Latex source using TexStudio, which calls pdflatex. Take a look at the following code: %\documentclass[]{aastex62} \documentclass{article} \usepackage[]{hyperref} \...
1
vote
1answer
24 views

Problem with side by side equation tag and custom tag style

Consider the following MWE: \documentclass{article} \usepackage{mathtools} \usepackage{amsmath} \newtagform{brackets}{[}{]} \usetagform{brackets} \AtBeginDocument{\let\latexlabel\label} \...
2
votes
1answer
24 views

backref and natbib generating an error

For some reason since a few weeks ago, when I use both natbib and backref, I get an error message and compilation stops. Runaway argument? ! File ended while scanning use of \BR@@lbibitem. I ...
0
votes
1answer
41 views

proper format for pdfauthor in case of two authors [closed]

Assuming a paper has two authors: John Smith and Sally Sixpack, what's the "right" (i.e., most useful) way to put them into the pdfauthor option of hyperref? Choices: pdfauthor={John Smith and Sally ...
3
votes
1answer
54 views

Hyperlinked image

There is some package that creates a hyperlink to an image created in latex, that is, to the image created to associate a link to a website.
0
votes
0answers
27 views

“destination with the same identifier” error with a custom appendix

I am working with a slightly modified version of the answer provided by @StevenBSegletes to achieve a custom appendix structure. (disclaimer: I left out my own modifications here to make the example ...
3
votes
1answer
25 views

Referencing line numbers in an algorithm using autoref

What is the autoref command to reference a line number of an algorithm? I tried to define stepautorefname, linenoautorefname and alglinenoautorefname commands as shown below but they don't work like ...
2
votes
1answer
45 views

Hyperref bug with a \def

The following very MWE shows the issue, which disappears when the call to hyperref is commented: \documentclass{article} \def\n{\textup{\tiny N}} \def\t{\textup{\tiny T}} \usepackage{hyperref} \...
2
votes
1answer
24 views

Want naked links across files

I compile via pdflatex f01.tex. My preamble normally contains ... \usepackage{xr-hyper} \usepackage{hyperref} Suppose that I have f01.tex and f02.tex in the same directory, and (for example) f01....
4
votes
1answer
129 views

Beamerposter and bookmarks

I am using a scheme like: \section{<section name>} \begin{block}{\thesection. \secname} % content placed here \end{block} To achieve panels on a beamer poster. I would also ideally use \...
0
votes
0answers
21 views

hyperref onmousedown linkcolor

I'm a LaTeX novice from China. Plz excuse my poor English. I've got an issue with the linkcolor when using package hyperref. My computer is working on Win10+TexLive2018+TeXmaker+FoxitReader(pdf ...
3
votes
2answers
73 views

(1), (2)… at the end of a line

Thank you very much, K. Paul and Ignasi ❤ You have provided me solutions that suit my document perfectly! However -- well -- which answer should I mark to be 'accepted' when both are correct?😂 ~~~~~~...
4
votes
1answer
30 views

Fill pdfinfo metadata with \usekomavar{} not working

I'm using scrlttr2 and I want to fill in the pdfinfo metadata with already existing komavars. \documentclass[]{scrlttr2} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage{lipsum} \...
5
votes
2answers
267 views

Why do all of my hyperrefs take me to the same page?

I can't reproduce this in miniature outside of my document, so I'm asking more debugging help on how I can fix it within the document I have. The problem is, I have a section with something like: ...
1
vote
1answer
46 views

LaTeX PDF form: Detect CheckBox changed event

I use LaTeX to create a fillable PDF document. How can I detect that a \CheckBox has been clicked? It seems to react only to onfocus={...}, not to onclicked={...} or onchanged{...}. Do I need to ...
0
votes
0answers
9 views

Using picture as hyperlink to a videoclip and passing options to the media player

I am using the following hyperref construct in a presentation (with beamer) to embed an image so that when I click on it the media player starts \href{file:///<path to videoclip>}{ \...
0
votes
0answers
20 views

LaTeX URL error occurs, but only if the URL is hidden

I have an environment that I sometimes hide using the environ package. I also include hyperlinks using hyperref, some of which contain the % sign. I'm running into a confusing issue where LaTeX fails ...
0
votes
0answers
54 views

Uploading tex file on arXiv

Recently I am struggling with uploading the tex file in the arXiv. There are really too many unknown errors... I tried to figure them out by myself, but it seems more and more errors come out. However,...
0
votes
1answer
39 views

hyperref with tilde

How can I make the tilde appear in the url in the following document? I know that this has been asked many times before but googling has -not- helped me in my case. The following document does not ...
1
vote
1answer
48 views

Break URL in Bibtex reference without losing the link, with hyperref package and LaTeX compiler

I am trying to properly break some of the url in my references. When using \usepackage[breaklinks]{hyperref}, the url breaks but the link disappear (not clickable) even though the blue color is still ...
1
vote
1answer
31 views

How can I attach files in articles?

I'm having issues attaching files in an article. It returns 2 errors: one related with color and the other with hyperref: ! LaTeX Error: Option clash for package color. ! LaTeX Error: Option clash ...
2
votes
1answer
27 views

Biblatex, APA style, hyperlink \parencite not displaying author on 2nd cite

I'm having trouble with my code. I'd like the 2nd \parencite to also include the authors name. The \DeclareCiteCommand is causing the authors name to be absent after the first cite \documentclass{...
2
votes
1answer
22 views

List of entries (newlistof) pointing to sections in non-sequential order (using contentsline and hyperref)

I would like to use the contentsline command in hyperref to add a reference to a document and be able to create a table of contents (list) where the entries do not necessarily appear in the order of ...
1
vote
0answers
69 views

PDF Bookmarks in classicthesis Template

I am using the classicthesis style and thesis template from André Miede's Bitbucket. The PDF bookmarks for the bibliography, declaration and colophon are subordinate to the PDF bookmark for the '...
3
votes
1answer
156 views

Set the print flag on links with hyperref to preserve them with ghostscript >= 9.25

To reduce the size of a pdf produced with pdflatex I usually run this command: $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dEmbedAllFonts=true -dSubsetFonts=true -...
1
vote
2answers
98 views

etoc with hyperref and \addchap

I have a problem when using etoc, hyperref and the KOMA-script-command \addchap: \documentclass{scrbook} \usepackage{etoc} \newcommand*\chaptertoc{ \etocsetnexttocdepth{2} \etocsettocstyle{\...
1
vote
0answers
16 views

Conflict between amsthm, cref, and hyperref [duplicate]

I cannot determine why this does not compile unless I remove amsthm which I normally include, though I don't exactly know why. \documentclass{article} \usepackage{amsthm} \usepackage{mathtools, ...
0
votes
0answers
26 views

\input{} with Tikz picture reference

I have a problem with \input{my_tikz_picture.tex} in my document. With my_tikz_picture.tex includes something like: \begin{figure} \begin{tikzpicture} ... \end{tikzpicture} \label{fig:a_label} \...
2
votes
0answers
39 views

Customizing ref of reaction environment

I am using the reaction environment from the chemmacros package to typeset a few, simple chemical reactions. I would like to customize the way I am referencing to my reaction. Ideally, the whole ...
1
vote
0answers
43 views

contentsline in hyperref: setting the target link

I am using the fourth-argument version of \contentsline defined in hyperref. Is there any way to compute the right hyperlink for the last argument of \contentsline in the hyperref package ...
0
votes
0answers
58 views

href not working

I have the following latex code. However, href is not working somehow. I don't know how to fix it. Any help is very welcome ! \documentclass{article}% \usepackage[utf8x]{inputenc}% \usepackage{...
0
votes
1answer
35 views

Command to bypass hyperref error explanation

I had warning in my project Package hyperref Warning: Option `pdfpagelabels' is turned off because \thepage is undefined. I used command before document class. \PassOptionsToPackage{pdfpagelabels=...
3
votes
1answer
65 views

How to refer to single item in custom enumerate

I have defined an enumerate environment with custom item names: each item should start with a bullet point and then "Type X case", where the X denotes the item number. Later in the text, I want to ...