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}.
4,048
questions
0
votes
0answers
11 views
get chapter of label using hyperref and autoref
There is some label that can be referenced using ... gemäß \autoref{lem:shadowmap} bezüglich ..., however I do not want this reference but the chapter where this reference is located in.
Is there some ...
2
votes
2answers
42 views
hyperref display problem
I am currently having a problem with the \usepackage{hyperref} in my file. Here are my settings
\documentclass[11pt,a4paper]{article}
\usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm]{geometry} %pour ...
0
votes
0answers
21 views
add entry to TOC table of contents only in pdf structure using hyperref [closed]
I want to add an item to the pdf structure that is generated using hyperref, but not add it to the TOC that is printed visually using \tableofcontents.
When using \addtocontents or for example \...
0
votes
0answers
18 views
Creating appendix listing files referenced via \href
I am working on a document that calls to multiple websites as well as files within the local directory and subdirectories. I would like to generate a list of those websites and files linked to within ...
1
vote
1answer
22 views
hyperref and imakeidx, custom delimiters
Suppose I want to replace the delimiters between pages in my index, so that instead of commas I use semicolons. The following code works well.
\documentclass{article}
\begin{filecontents}{\jobname....
0
votes
1answer
33 views
Deactivate hyperref, keep bookmarks BUT have working hyperrefs in the toc
In this superb answer, @Ulrike Fischer gives an answer how to deactivate hyperref and keep the bookmarks bar working. MWE is there in the answer.
I, however, want to keep hyperrefs working in the ...
0
votes
0answers
13 views
Using the Glossaries package, how do I hyperref only the short form of an abbreviation?
Currently when I use the glossaries package and use an abbreviation for the first time both the long as well as the short form of the abbreviation show up as a hyperlink. How do I set it up so that ...
0
votes
0answers
28 views
Conflict between utf8 and other packages
Whatever I do I receive this message (! Package inputenc Error: Invalid UTF-8 byte sequence) when I run livre.tex. I assume that livre.tex combined with .sty file doesn't like (Ôter) as a first word ...
2
votes
0answers
28 views
How do I get boxes around my links? [duplicate]
I'm trying to add boxes around my links like in Box around reference and citation but I don't get the boxes only the number.
\documentclass[a4paper,UKenglish]{article}
\usepackage{graphicx}
%
\...
0
votes
0answers
44 views
Is there a way to create a CheckBox without a label?
I am using Hyperref and Form to create a CheckBox, but I don't want any text near it. It should be without any labels, but I can't leave the parentheses empty, like so:
\CheckBox[checked=true]{}
I ...
0
votes
0answers
13 views
Custom label and reference equations in numcases [duplicate]
I have labelled and tagged a piece-wise function using numcases. However, when I reference the equation later, it is not displaying the right tag in the text.
\documentclass[11pt,fleqn]{article}
\...
1
vote
0answers
9 views
Capitalise cleveref reference of algorithm2e [duplicate]
I'd like to reference an algorithm from algorithm2e using hyperref and cleveref. The goal is that "Algorithm" is capitalised in the reference. Neither using the capitalise option nor ...
0
votes
0answers
16 views
Visible box in \ChoiceMenu
I am trying to make a fillable Form with the hyperref package. The form will be used both in PDF- and in printed form, so I would like the box from \ChoiceMenu to be usable in PDF, and visible when ...
0
votes
0answers
22 views
Do we have to use starred equations with \tag? [duplicate]
Consider the following MWE:
\documentclass{amsart}
\usepackage{hyperref}
\begin{document}
\begin{equation}
\tag{tag}
1+1=0
\end{equation}
\clearpage
\begin{equation}
\label{mylabel}
1+...
2
votes
0answers
38 views
captionof, hyperref and autoref: wrong tag?
This is probably an abuse of one (or more) of captionof, hyperref and \autoref command.
\documentclass{article}
\usepackage{caption}
\usepackage{hyperref}
\begin{document}
Some text and some more ...
1
vote
1answer
37 views
\ref command not working in the argument of redefined section/subsection command (UAI template)
So I used this template from this UAI conference https://auai.org/uai2021/submission_instructions.php
I found that the \section{\ref{some_label}} or \subsection{\ref{some_label}} are only compiled to ...
4
votes
2answers
164 views
MacTeX 2020: error with report + hyperref + mathbf in chapter
I am getting an error with the following:
\documentclass{report}
\usepackage{hyperref}
\begin{document}
\chapter{This raises an error: \(\mathbf{x}=y\)}
test
\chapter{Using this instead works: \({\...
1
vote
1answer
31 views
Different formatting so that the URL and DOI number are also displayed
I am currently working on a scientific paper and would like to display the URL and the requested date, as well as further information and, if available, the DOI number (below are examples of what I ...
0
votes
0answers
79 views
Compiler throws error after Miktex update from February 10, 2021
After yesterdays update to hyperref version packed February 10, 2021, I get this error using Lualatex:
("C:/Program Files/MiKTeX 2.9/tex/latex/hyperref/hyperref.sty"
Package: hyperref 2021-...
0
votes
0answers
20 views
Hyperlinks and References not working with the standalone package
I'm trying to combine two separate documents into a single document and want them to share a combined bibliography. I'm using the standalone package for the same.
main.tex
\documentclass{article}
\...
4
votes
1answer
85 views
Command \C already defined and the hyperref package
Since my last update of the TeXlive2020 installation some days ago I have the following problem. I am using since years the macro \newcommand{\C}{\mathbf{C}} for typing the complex numbers. Suddenly, ...
2
votes
1answer
123 views
How to avoid an hyperref bug (?) in theorems
Sometimes in AMS theorems we use lists. For some reason, when the list arrives just after the \label at the very beginning of the theorem, the hyperref link is corrupted. It suffices to put a single ...
0
votes
0answers
28 views
TOC and glossaries are green even with linkcolor=black in hypersetup
I have been given a LaTeX preamble to use for my PhD dissertation, which have the following configuration for hyperref:
\usepackage{hyperref}
% change to \hypersetup{pdfborder={0 0 0}, in order to ...
0
votes
0answers
17 views
hyperref CheckBox doesn't show up on any Windows pdf viewer
I am trying to make a simple form using the hyperref package, however I am having issues using the form on any Windows OS pdf viewer.
The following is the CheckBox code:
\begin{center}
\begin{Form}...
0
votes
0answers
15 views
Insert a reference un a figure
I'm working on a book, and I want to add at the end of an exercise list an icon that if I click it then I go to the place of a specific reference. For example, usually, I write \ref{solutions} but in ...
1
vote
1answer
23 views
Package conflict : hyperref, glossaries, and keyfloat
In the code below if I uncomment either of #1 or #2 or #3 it compiles, otherwise not. Why
\documentclass[12pt]{article}
\usepackage{keyfloat} % #1
\usepackage{filecontents}
\begin{filecontents*}{\...
0
votes
1answer
30 views
Linking the list of figure title to the table of contents entry
this is my first time asking questions on this forum, long time reader however, so please bear with me.
I currently have a document, in book class, for which I have been making use of the hypref ...
5
votes
3answers
126 views
Use accented characters in bookmarks
I am trying to generate my own recipe collection. I've got my inspiration from An Aesthetically Pleasing Recipe Book Template. It is really similar but I've tweaked a few things. So far, it's working ...
0
votes
0answers
25 views
Unexpected result using sys_get_shell in argument of hypersetup
I would like to include the content of an environment variable inside a PDFs metadata. (More specifically the commit inside of a CI pipeline). To do this I used an old(ish) macro of mine to get the ...
2
votes
1answer
63 views
hyperlinks to a separate PDF document
I am trying to figure out a way to create hyperlinks between PDF documents.
Here's an MWE:
\documentclass[10pt]{article}
\usepackage[a6paper]{geometry}
\usepackage{hyperref}
\begin{document}
\section{...
1
vote
1answer
32 views
Hyperref is not pointing to the right place [duplicate]
In this MWE, the link created by hyperref points to the first page but should point to the second page.
How can I fix this issue?
\documentclass{article}
\usepackage{hyperref}
\usepackage{varioref}
\...
0
votes
1answer
20 views
Give two equations the same label but different hyperref anchors
In the introduction of a chapter, I define an equation. Several pages later, I then recall that equation before proceeding to do things with it. I want to assign it the same label in both instances, ...
0
votes
1answer
21 views
Defining Lead-In Heading [with capitals] breaks automatic hyperref's pdf bookmarks
I am trying to define my own document class with some lead-in style heading text and pdf bookmarks.
Here is my class file myclass.cls:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{myclass}
\LoadClass[12pt,...
0
votes
1answer
24 views
Hyper-reference for acronym in long/short form
I am using the acronym-package to create a list of acronyms used in the document. In some cases, I would rather use the long form and introduce the short form separated with a comma instead of in ...
1
vote
1answer
32 views
How to use Abbreviations inside tables
I have a very rare and uncommon situation. I want to call abbreviations the first time inside a table environment. It works as intended, but the package hyperref does not like it. The following MWE ...
3
votes
2answers
57 views
Manually set bookmarks jump to wrong location when used with tcolorboxes
I am extending a class to take Cornell styled notes. For this the class heavily relies on tcolorboxes.
I want to add bookmarks to the resulting PDF for some of these tcolorboxes but no matter what I ...
0
votes
0answers
23 views
How to automatically hyperlink variables in equations?
I'm trying to make a hyperlinked equation sheet. Locally, for a section/subsection/subsubsection... of my document I'd like LaTeX to automatically hyperlink each variable to a description of the ...
1
vote
0answers
27 views
hyperlink + pdftooltip: content to show tooltip with mouse hover, and be a clickable hyperlink simultaenously
I would like to have some hyperlinked content also show a tooltip when the mouse is hovered. Simple use case: when referencing say Section 1, the tooltip could display the section name Introduction To ...
1
vote
1answer
26 views
urlstyle, urlfont and newfontfamily interaction
I'm using XeLaTeX and fontspec. I want to change the font (to the courier font) that is shown when using \url.
I don't understand why "\renewcommand\UrlFont{\courierfont}" works but "\...
1
vote
0answers
27 views
Upload failed: PDF links (URLs) are not allowed. See EDAS FAQ
I tried to upload my paper which is written by Latex to the IEEE conference organized in "https://edas.info/", but gives me this error.
\documentclass[conference]{IEEEtran}
\...
0
votes
0answers
40 views
Polyglossia and hyperref interference when using french language
I have a warning when compiling the following code:
\documentclass{standalone}
\usepackage{polyglossia}
\setdefaultlanguage{french}
\usepackage{hyperref}
\begin{document}
a
\end{document}
...
0
votes
0answers
27 views
How can I output the appendix in a separate pdf
For conferences (such as ICML) you sometimes have to submit the appendix as a separate pdf.
In the Appendix I want to use packages such as hypperref/cleveref to reference to equations and theorems ...
1
vote
1answer
41 views
Why the horizontal spacing is removed in a subsection when using special characters?
I'm trying to add a special symbol to a subsection of the document, but it appears from what read online "PDF standard doesn't support special symbols in bookmarks". I found the answer and ...
2
votes
1answer
35 views
Why does \crtcref produce this bizarre error?
This question is not about solving a problem per se, as I already have a workaround, as deomstrated by point 1 below. It's more about trying to understand why a certain error is occuring. Consider the ...
2
votes
0answers
26 views
\eqref and cases package
I want to use a custom tag for some equations, but I'm not being allowed to. Here is an MWE:
\documentclass{article}
\usepackage{amsmath,cases}
\begin{document}
\begin{equation}
x=y\tag{...
2
votes
1answer
20 views
Extra page inserted when using hyperref and table with lists
Ok, I have compiled a MWE that I find very strange. There is an extra blank page and if I comment out the hyperref package the extra page disappears as well as if I remove one of the lists. I really ...
0
votes
0answers
30 views
Refinement of glossaries' symbols list with third column
Based on this topic, I have constructed the MWE seen below. It uses the glossaries package to produce a list of symbols with physical units. The list is supposed to have lines between the cells, just ...
1
vote
0answers
19 views
Link does not work properly with endnotes and hyperref when endnote counter is reset
I am trying to creatate circular hyperlinks between endnotes marks and their respective content. I ended up finding this answer that basicaly does what I want. However, in my project the endnote ...
0
votes
0answers
25 views
Multiple fonts in a numbered section heading with XeLaTeX and Hyperref
I'm trying to use XeLaTeX to build my document. I define sections containing two different fonts within the section command. I've managed to get this to work, but only when using the * version to ...
0
votes
0answers
20 views
hyperref links to first subcaptionref with memoir
This is more of a bug report than a question.
When using memoir's subcaptions (not the subcaption package) and links with the hyperref package, references to subfigures always point to the first ...