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,890
questions
0
votes
1
answer
126
views
How do I undo the \usepackage{hyperref} command in LaTeX?
I accidentally included the hyperref package into my document and it messed up all the \ref commands I had inside of it.
After I realized what was messing with my \ref command I deleted the \...
1
vote
0
answers
35
views
Hyperref'ing definitions without having to navigate back like in wikipedia
I am currently typing up lecture notes and whenever a import term comes up I place hyperref to it's definition like so:
\hyperref[defn:markovChain]{Markov-chain}
where I am using the ntheorem ...
1
vote
0
answers
320
views
Hyperref problem when using pdflscape
As shown in the .gif animation below, a click on the link below the table will move the visual focus to the position just above the linked cell in the table.
However, after the table is changed to ...
1
vote
1
answer
168
views
pdflatex warning with manyfoot and hyperref, absent in xelatex
The following code
\documentclass{report}
\usepackage{manyfoot}
\DeclareNewFootnote{R}[alph]
\usepackage{hyperref}
\begin{document}
The default\footnote{Default} footnote works fine, but
manyfoot\...
0
votes
0
answers
273
views
"There were undefined references" error [duplicate]
I know, that this error has been answered in various forms here, but I was unable to find a solution to my problem.
The following code gives me errors:
There were undefined references.
LaTeX [1,...
1
vote
1
answer
269
views
\label and \ref do not work correctly using pgfplots, hyperref and tikz externalization
I have the following MWE:
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepgfplotslibrary{external}
\tikzset{external/mode=list and make}
\tikzexternalize
\usepackage{...
1
vote
0
answers
48
views
Page number hyperlinks for subsections from ToC work fine with memoir, hyperref, and \headstyle{wilsondob}, but not with \headstyle{dowding}
Clicking on page number hyperlinks for subsections from table of contents (ToC) works fine for the {wilsondob} and {tandh} header styles in documentclass memoir, but do not work for {dowding}, when ...
6
votes
3
answers
5k
views
BibLaTeX backref links to wrong page using hyperref
I'm trying to use the backref option of BibLaTeX for back-referencing, but the pages in the bibliography link to the wrong pages (even though the pages listed are correct). The link appears to be ...
0
votes
0
answers
580
views
Table of contents points to the wrong page numbers of appendices
I use appendix package to generate appendices. It generates the desired heading in the text, but generates the entries of appendices in the TOC exactly the same way it generates entries for chapters. ...
2
votes
1
answer
685
views
Hyperlink target defined with \label goes to wrong page
I am using cleveref and hyperref. I interpreted When using the hyperref package, cleveref automatically makes all cross references into hyperlinks to the corresponding reference. as meaning that I ...
1
vote
2
answers
567
views
How to include URLs with ecta style?
I am using ecta (Econometrica) style for references. I want to include URLs with them but ecta style does not support it. I tried using note and howpublished but it appears the ecta style overrides ...
1
vote
1
answer
70
views
Problem referencing labels with href
I am trying to reference certain sections with href in my index (not using the normal index because I wanted to make a custom one), but when clicking on them it just takes me to the top of the main ...
1
vote
1
answer
113
views
Evaluation problem with the label/reference mechanism
I am defining a computation environment which defines a bunch of equations. Each equation has a number and I want to print that number. To generate automatically the correct number, I use the label/...
21
votes
4
answers
6k
views
Math in table of contents, bookmarks and heading
I would like to obtain the following:
the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$,
in the table of contents it is Math symbols $\sum, \int$ (without bold),
in ...
1
vote
1
answer
712
views
Citation Alias within Full Citation
I have a reference in one of my papers which I cite several times. So I abbreviate it after full citation the first time round and then I use the abbreviated version of the citation in rest of the ...
1
vote
1
answer
146
views
Hyperlinking an Abbreviated Citation to its Reference in Bibliography
I have a paper in which I cite another paper multiple times. In order to avoid repeating the same citation every time I make a reference to it, I cite it in full the first time around and then I ...
2
votes
1
answer
421
views
Getting back to the toc by clicking on headlines in the text. How to do it?
I am working with texshop which lacks of a proper navigation (or I didnt find it yet). To make it easier to navigate through the document I would like to make all the headlines clickable in a way that ...
0
votes
1
answer
139
views
hyperref to sublistings
I'm using the subcaption package to define sublistings that I can put in my listing float environments. The listing float is defined by minted.
This has all been working well so far (see full code ...
3
votes
2
answers
194
views
Expansion of an optional parameter for an environment
I want to define a custom environment, which takes an optional parameter, and I want be able to link to the environment using nameref. To this end, I tried something similar to the following MWE:
\...
0
votes
1
answer
186
views
Hyperref: using abbreviated labels like Eq., but keep correct spacing after period
The following code:
\documentclass{article}
\usepackage{amsmath}
\usepackage{hyperref}
\renewcommand{\equationautorefname}{Eq.}
\renewcommand{\figureautorefname}{Fig.}
\begin{document}
\begin{...
0
votes
1
answer
404
views
! Package hyperref Error: Wrong DVI mode driver option `pdfmark',
This is my first ever using LaTeX, I received a template header from my university to use. Still had done no changes to it whatsoever and I get this error:
! Package hyperref Error: Wrong DVI mode ...
0
votes
1
answer
314
views
Table of Contents in Appendix in Article Class
I am writing a paper which has an appendix. The main part of the paper looks like this:
I want to put a table of contents in the appendix. I want the table of contents to list only the sections/...
1
vote
1
answer
520
views
TOC Links to Chapters of Parts lead to Chapters of previous Parts
In the TOC, when I click on the chapters of the various parts, I end up on the chapter from previous part. So, when I click on Chapter 1 of Part 2, I'm taken to Chapter 1 of Part 1, simply because it'...
20
votes
4
answers
7k
views
Can I have hyperlinks a different color for printing?
Is it possible to print hyperlinks in the same colour as the surrounding text when printing a hard copy of a PDF?
When a PDF is printed on paper I would like the links to be the same colour as the ...
3
votes
2
answers
1k
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?😂
~~~~~~...
0
votes
1
answer
393
views
Metadata in PDF with XeLaTeX: Title doesn't change and hyperref gives warning
I would like to define a title which will show in the pdf instead of the file name. My code is as follows. But when I compile it, it doesn't change the title, and on top of that I get the warning ...
2
votes
1
answer
1k
views
How to make 'Form' fields in line with other text
I used the second answer (by Christian Lindig) to this question to make my own fillable PDF form. I edited it slightly to suit my needs. I tried to make a MWE:
\documentclass[11pt]{article}
\...
2
votes
2
answers
337
views
\hypersetup does not work well after \cleardoublepage
In my MWE, \hypersetup is called after \cleardoublepage. But \hypersetup does not work well after \cleardoublepage, i.e., no PDF metadata in the document properties.
\documentclass{book}
\usepackage{...
3
votes
1
answer
264
views
Hyperref and Pgfpages Resize
when I use pgfpages to resize my document all my hyperref links got displaced.
I need to scale my A4 document to 240mm x 170mm. But I want to keep all my bookmarks and document metadata.
Got anyone ...
1
vote
1
answer
318
views
hyperref Form spanning multiple markdown sections?
begin{Form} and end{Form} currently works in markdown if there is no markdown syntax in-between:
\begin{Form}
\TextField[name=Title, width=0.87\textwidth, bordercolor=black, value = {Some default ...
2
votes
1
answer
372
views
`hyperref` does not jump to the correct location of the bibliography
I use the following syntax to add the bibliography of a chapter as a section
\defbibheading{bibliography}{\section{References for \chaptername\space\thechapter}}
However, the above syntax will add ...
2
votes
1
answer
286
views
hyperref forms cause PDF changes when viewer opens it
After working with hyperref forms I have noticed that employing some format options produces a strange behaviour when opening the output PDF (in PDF XChange viewer/editor at least): the program shows ...
2
votes
1
answer
729
views
Use beamer in article mode with hyperref
I want to create an article version of a beamer document.
The following MWE stops with error ! LaTeX Error: \beamer@descriptionitem undefined.:
\documentclass[class=scrartcl]{beamer}
\usepackage{...
1
vote
1
answer
43
views
How to assign page number of label to hyperlink [duplicate]
I'm quite new with Overleaf and I have following problem: I want to make clickable table of contents to my thesis. It turned out that package hyperref works only with numbered chapters and sections. I ...
2
votes
1
answer
222
views
Breaklinks for reference citation are not working in hypdvips
There are reference citation entries that span more than one line. Since I compile with LaTeX -> PS -> PDF, the links created by hyperref are not correctly displayed in the output file (pdf). To fix ...
1
vote
1
answer
67
views
How can I get the correct hyper pdf underline colour and line width?
I'm trying to set a custom colour for hyperref's link underlining. The MWE below shows what I'm doing. But the colour comes out different - it's the same kind of yellow but a different saturation, if ...
1
vote
2
answers
446
views
Colouring citep/citet/citeauthor differently and based on environment
I'm writing my thesis report in which citations inserted through citep en citet are blue, and the output of the citeauthor-command is the regular text color. I've achieved this using a combination of ...
23
votes
4
answers
3k
views
Thumbnails of other frames in beamer
I would like to make a presentation with beamer, and have a few frames (at the start or the end) containing thumbnails of the other frames, hyperlinked to them, with something like 4x3 or 5x4 ...
1
vote
1
answer
654
views
What's the "right" way to ensure all of the autoref names are capitalized, in an sty?
Suppose I'm writing an .sty for people to use. This .sty might be loaded before or after hyperref, and possibly before some other packages define \chaptername, \chapterautorefname, \sectionname etc. ...
4
votes
1
answer
9k
views
Hyperref package is causing error message
I am trying to typeset my document, but the including the hyperref package gives me the following error:
The required file
tex\latex\url\url.sty is missing.
Now my problem can probably be ...
0
votes
1
answer
484
views
Can i redefine the checkmark in a PDFLaTeX CheckBox
My problem: I want to create an active PDF (formula) that contains checkboxes. The checkboxes should have a "cross" as "checked" indicator, not the sign that comes as default. How can this be achieved ...
0
votes
0
answers
798
views
TexStudio - hyperref Warning: Values of option `pdfpagelayout'
When compiling my Latex project using Texstudio in Windows 10 (using MiKTeX 2.9), I am getting the following warning:
Values of option `pdfpagelayout':(hyperref) * `SinglePage'(hyperref) * `OneColumn'...
0
votes
1
answer
459
views
What does "quick and dirty hack" by Heiko Oberdiek do?
In my document's preamble I have the following code related to showidx and hyperref, which also appears in many posts on this forum.
What is its purpose?
%Begin the ``quick and dirty hack'' due to ...
1
vote
0
answers
101
views
Is Oberdiek's hack still needed for showidx with hyperref? [duplicate]
Is the following code still needed...
To allow showidx to work with hyperref' forbook,article` document classes?
To allow the emulation of showidx in the memoir document class to work with hyperref? ...
1
vote
1
answer
84
views
Starred version of macro causes hyperref error if used in section command
In the following MWE
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[pdftex,unicode,final]{hyperref}
\input{glyphtounicode}
\...
5
votes
1
answer
278
views
A more precise hyperref
I'm currently using hyperref and makeidx to make a hyperlinked index, and it's working great. But right now, the hyperlinks always take me to the top of the page; ideally, I'd like the links to be ...
0
votes
1
answer
323
views
Table of contents and colors
I wanted to know if it is possible to have the table of contents in black like it appears in the picture:
And also make the sections appears in blue when referencing them:
This is my current set up:
...
12
votes
3
answers
2k
views
Type '{' '}' in url
I would like to type brace symbol inside a URL using the url or hyperref
package.
Is there a way to do that ?
(the idea is to typeset REST-like URL, as for example,
http://foo.bar/orders{orderID}
17
votes
3
answers
3k
views
How to disable percent-encoding in URLs?
I try to add a unicode URL into the bibliography and LaTeX automatically converts the cyrillyc letters into percent-encoding. I found that hyperref is responsible for this, but I found no way to ...
2
votes
1
answer
723
views
Calculations in TextField do not work
I want to have some TextFields in my form where one can put numbers (shares) and the last TextField should be 100 - the sum of all other TextFields.
I found this but it did not help, nothing happens. ...