Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
16 views

How to refer to a subsection of a starred section?

In How to \label-\ref an un-numbered section, Nathan Grigg pointed out that one could use the \hyperref commmand to create a link to a starred section as follows \documentclass{article} \usepackage{...
0
votes
0answers
9 views

Footnotes with hyperref, footmisx?

The package footmisx selfdescribes as "a fork of foot­misc pack­age al­low­ing to use hy­per­ref". I'm confused for two reasons: (1) This MWE throws an error: \documentclass{article} \usepackage{...
0
votes
0answers
39 views

Footnotes inside tabularx with hyperref

I want to make my own command to deal with hyperref incompatibility with footnotes inside tabularx. I can't use hyperfootnotes=false option for hyperref. It seems I'm in a half way to get what I want ...
0
votes
1answer
28 views

Incompatibility between xr-hyper and redefinition of \section

This is main.tex \documentclass[headings=optiontohead]{scrbook} \usepackage{subfiles, xparse, xr-hyper, hyperref} \externaldocument{main} % so that cross-references work in subfiles \let\oldsection\...
0
votes
0answers
24 views

How to fix a \cpageref link that's drives me to a wrong page?

I'm using hyperref and cleveref packages for to create link in my document. However, when I use \cpageref to reference a page, the link created drives me to a wrong page. In the following MWE, the ...
1
vote
1answer
45 views

Combining hyperref's label macro with tikz macro

I would like to mark my labels visually. Trying to expand hyperref's macro \label using the \label@hook gives me error messages and some weird behaviour. MWE: \documentclass{scrbook} \usepackage{...
0
votes
1answer
50 views

Manipulating style of TOC to emulate an example. Hyperref problems

EDIT: I solved most of my original problems so I am rewriting the question which is still fundamentally the same but now I can post a much nicer MWE. The problem I am having is to make the dots in ...
1
vote
1answer
25 views

Hyperref coloring links of natbib tags but not linking to the reference page, why?

This is my first question here, please let me know if I should add more info to the question. I am preparing a paper using a Springer template svjour3. Due to the peculiarities of the way the ...
1
vote
2answers
36 views

Change color of equation hyperrefs with each section

Similar to two previous posts of mine, I want the color of the reference to a formula to be the same color as the theorems etc in that section. MWE \documentclass[a4paper,twoside,ngerman]{article} \...
2
votes
1answer
35 views

Use customized color in \href

Problem I am now updating my CV and I want to replace the ugly block outside the hyperlink with the customized color. I read and tried the solution provided in these answers and websites (anwser1, ...
3
votes
1answer
53 views

Empty captions with KOMA-script, maybe together with hyperref

I like captions to normally have a colon, but not when the caption is empty. This is something that the package caption does automatically, so \documentclass{scrartcl} \usepackage{caption} \...
4
votes
2answers
45 views

Large link border with hyperref

In this line of my text when I had to use a cases environment within the text I got a large link border around 1. How to make it regular like any others references? Below a MWE of my code: \...
1
vote
1answer
28 views

Redefine \citealt to avoid creating hyperlink

My document has lots of natbib citations of the general form \citealt[462]{Andrews1982b} — which I would like to not create hyperlinks, while using the HyperRef package to produce other ...
5
votes
1answer
165 views

Custom LaTeX logo problem

I have been trying to create a KaTeX logo for a paper that I'm writing, but it seems to break when I combine the following packages and try to put the logo in the title. \documentclass[a4paper, 12pt]{...
0
votes
0answers
48 views

latex reference

LaTeX Warning: Reference `2.20' on page 57 undefined on input line 2685. I don't know about what this warning is. What this warning means? My code is too long and I make \begin{thm}\label{2.20} at ...
2
votes
1answer
48 views

hyperreferencing include files

I have a latex file that i wish to convert into an html document. It is made up of many sub-files with a master document. I want to hyperlink different parts/sections of these files(included/master-...
0
votes
0answers
12 views

Using \hyperref within prenote of \citep

I want to add a link to the appendix in a prenote of a citep reference. However, using \hyperref[label_name]{Text with link} (as stated here) instead of \ref{label_name} fails. Here is a MWE ...
1
vote
1answer
54 views

\href does not produce a clickable link

I am using Deedy's resume template on overleaf to draft mine, and I created a few hyperlinks like this \usepackage{hyperref} %added this as the last package \namesection{John}{Doe}{ \urlstyle{same}\...
1
vote
1answer
42 views

Problem with list theorems and ntheorem. Clash with hyperref?

I have defined my theorems as follows \documentclass[a4paper,twoside]{article} \usepackage{amsmath,amsfonts,mathtools,framed} \usepackage{enumitem} % einfacher Nummerierung verändern \usepackage{...
0
votes
1answer
33 views

Hyperref prepends citation key before bibliography entry

I'm currently writing a research paper with the AAAI style files. Here is what a minimal document that replicates the problem looks like: \documentclass{article} \usepackage{aaai18} \begin{document} ...
1
vote
0answers
41 views

What may cause bookmark accented letters not working on a specific computer?

I'm using package hyperref to write a book in Portuguese. Appendices should appear in TOC as in Apêndice A Title of the appendix. When I compile it with LuaLatex on a computer with Ubuntu 16.04, I ...
0
votes
1answer
15 views

enotez \href problem

I'm making proof with \href (hyperref package) and enote (enotez package) \documentclass{article} \usepackage[backref]{enotez} \usepackage{hyperref} \let\footnote=\endnote \begin{document} ...
5
votes
2answers
488 views

How to color hyperref links so that it works in Chrome/Chromium?

The actual usecase: I'm writing a resume in LaTeX, so I defintely want the reader to know that the hyperlinks are there and there are just too many people using Chrome. In my real usecase I'm using ...
0
votes
0answers
34 views

hyperref / etextools incompatibility?

My document uses both hyperref and etextools. Up until today, they appeared to be playing nicely; however a new command seems to have introduced a conflict somewhere. The MWE below is a greatly ...
1
vote
1answer
33 views

Understanding Warning 'Destination with the same identifier has been already used' caused by Theorems

In the following mwe I get two warnings: LaTeX Warning: Citation 'foo' on page 2 undefined on input line 29. and pdfTeX warning (ext4): destination with the same identifier (name{definition.1}) has ...
0
votes
1answer
44 views

Hyperref in BibTex and the JHEP Style for the Bibliography

I would like to attach a link to the name of an article (which doesn't have a DOI) in BibTex. I am using the JHEP style for the bibliography. However, the command \href{}{} does not work in the BibTeX ...
1
vote
1answer
39 views

Hyperlinks in S-columns?

My MWE: \documentclass[parskip=full]{scrartcl} \usepackage{ lmodern, babel, textcomp } \usepackage[locale=DE]{siunitx} \usepackage[colorlinks]{hyperref} ...
0
votes
1answer
41 views

Clickable reference to URL

Couldn't find this anywhere, so hoping for some assistance here. I'm doing my master thesis and I as an example I need to reference a lot of information from European Space Agency website. I'm ...
1
vote
2answers
40 views

How to keep a link with underscore stable when inserting the pdf?

I'm setting up my job application portfolio, and want to link my email address. However, when I insert the pdf with the linked email address to my portfolio, the link does not work properly anymore. ...
1
vote
1answer
17 views

How to wrap an hyperlink generated with a new command with Tex4ht?

I'm defining a new command to generate achromatic hyperlinks as follows: \newcommand{\CNameRef}[1]{{\hypersetup{hidelinks}\nameref{#1}}} It works well with the PDF output however the HTML version of ...
2
votes
1answer
36 views

Change/clean biber citestyle and extend hyperref box

I have encountered two issues which might be related: first of all I'm wondering if it is possible to have a better/clean solution to changing the intext cite style of biber. My required format is: (...
9
votes
2answers
179 views

Glossaries links with non-latin labels in LuaLaTeX refer to wrong place

I want to make a glossary with glossaries-extra package and use Cyrillic characters as entries labels. Everything works fine with XeLaTeX. Clickable links refer to exact glossary entry. But in ...
2
votes
1answer
53 views

hyperref’s pdfusetitle option fails with authblk

I would like to use the functionalities provided by the package authblk and get automatically the right author metadata in my PDF. Normally, the pdfusetitle option of hyperref sets the right title and ...
1
vote
0answers
27 views

Hide fields from hyperref forms and delete the space they were taking when visible

I wanted to have a "hide/show" PushButton to hide a certain field, which I managed (see MWE). However, when the field is hidden, it still takes "space". Is there a way to not only hide the field ...
0
votes
1answer
29 views

Linking a bookmark and ToC entry to top of landscape page

I have an unnumbered (starred) chapter in landscape orientation. The \label{...} places an anchor/jump target at the beginning of the line (\phantomsection). Clicking at the connected bookmark leads ...
2
votes
1answer
25 views

How do I alter all text colour within a space?

I've written a command to `hide' text, equations, and content, by changing its colour (e.g. to all white). Based on the discussion in [1] I'm using the command: \newcommand{\hi}[1]{{\leavevmode\...
0
votes
0answers
21 views

Every glossaries entry link to a specific page even if there's no entry used in the page

I've built my acronyms list with glossaries package. Everything work as it should expect that, on the acronyms list, every entry, besides the actual page where that entry can be found, it also shows a ...
1
vote
1answer
34 views

\leq symbol in hyperref text field

I would like to insert the "lesser or equal" symbol (\leq in latex) inside a TextField from the hypperref package. Is this possible ? And how ? I get the error : "Package hyperref Warning: Token not ...
1
vote
1answer
25 views

How to put number of chapter and section in the bookmarks of the .pdf

I would like the number of the chapters and sections to appear also on the index of the .pdf document. That is, on the left of this image: I assume it can be done with the hyperref package, but I don'...
4
votes
1answer
34 views

Change backgroundcolor of PushButton (hyperref package)

I would like to create a pushbutton and change its background color. Is this feasible ? And how ? Here's my MWE: \documentclass[a4paper, 12pt]{article} \usepackage{xcolor} \usepackage{hyperref} \...
0
votes
0answers
45 views

Is pstool incompatible with hyperref?

I wanted to create a figure with clickable references do different chapters of my document. Therefore, I wanted to use pstool to replace placehoders in the figure with appropriate references. If I ...
0
votes
1answer
31 views

Enumerate: reference and hyperlink /hyperref the “numbering” of items

I aim to use \begin{enumerate} \item ... \end{enumerate} Goal: such that the numbering (1,2,3,...) of each item in the list can have a reference and hyperlink /hyperref, so I can refer to ...
3
votes
3answers
219 views

Strange lines in front of the document

I want to create a document with the iodhbwm class. If I compile it the first time it works fine. But if I compile it a seccond time this lines apear at the begin of the document: id=1,dest=...
0
votes
0answers
32 views

Hyperref in LoF do badbox (overfull \hbox)

I write theses and when I compile the file, I get "Overfull \hbox (1.74275pt too wide) in paragraph at lines 21--21". I think it is the problem with hypperref as you can see in the picture bellow. (...
0
votes
0answers
22 views

File link with space in href

I would like to have a link in my tex file to a file on my computer using href from the hyperref package. However, the link includes a space, ../folder name/.. I tried \href{file://data/folder\ ...
1
vote
0answers
14 views

Bookmarks hierarchy with custom titleclass

I'm new here, but I've been using LaTeX for some years already. Recently I had to define new chapter- and section-like levels in my document, and I created them using the titlesec package, with the ...
3
votes
2answers
142 views

Hyperref in mathematical equations

With the following codes: \documentclass[12pt,a4paper]{article} %------------------------------------------------------------ \usepackage{amsmath,amssymb,amsthm} %-------------------------------------...
0
votes
1answer
32 views

back-hyperref the whole word in bibliography

Inspiring from this answer, we have \documentclass[12pt,a4paper]{article} %------------------------------------------------------------ \usepackage{amsmath,amssymb,amsthm} %---------------------------...
0
votes
1answer
27 views

back-hyperref the whole word

I use the following codes \documentclass[12pt,a4paper]{article} %------------------------------------------------------------ \usepackage{amsmath,amssymb,amsthm} %-------------------------------------...
0
votes
0answers
22 views

Interaction between \hyperref and \longtabu [duplicate]

I noticed a strange interaction when my document uses hyperref with colorlinks=true and longtabu on Linux plateform with pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018). The following code produce an ...