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
1answer
16 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
51 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 ...
0
votes
2answers
15 views

Line wrapping with underscores

This is a follow-up question to this one. There, a method is described how to "escape underscores". I would like to use that to put hyperlinks into the margin. As you can see, with a very long link ...
1
vote
2answers
55 views

Papersize option in geometry package is misbehaving. Potential conflict with other packages? [duplicate]

I'm trying to set a custom paper size for my document via the geometry package. However, whenever I add the [papersize={x,y}] option, I get the wrong output. The document compiles successfully (with ...
0
votes
0answers
13 views

Wrong list of ffigures and tables hyperlink in summary

I'm writing my thesis but I have a problem with my summary. The hyperlink of my List of Figures and List of Tables are wrong, instead, the one for the List of Acronyms is working as well as all the ...
1
vote
0answers
34 views

Repeat in author names when referring to three or more authors

I am using the two-column format of the latex template provided by Springer( https://www.springer.com/gp/livingreviews/latex-templates ). To break longer citations I am using "breakcites" package. I ...
0
votes
1answer
27 views

Use a command inside a \url or \href or \nolinkurl

I'm trying to typeset a \nolink URL whose a part is formatted differently (eg. in bold, or enclosed by angle brackets). In the following example, I would like to format <param1> in bold. \...
2
votes
0answers
16 views

jmlr.cls - hyperref author notes and \thanks command

I use the jmlr class and have issues with the \thanks command which seems to be related to a known hyperref limitation with respect to footnotes (see the LaTeX wiki book). Note that this questions is ...
1
vote
1answer
19 views

Hyperlink year only on citeA command

I'm using apacite and both cite{author} and citeA{author} commands. When using cite{author}, both author and year are hyperlinked and this is fine. But when using citeA{author}, i would like the year ...
2
votes
1answer
36 views

What are the most commonly used colors for References and Cites?

Here's a little excerpt from the thesis I'm working on: The LaTeX template was provided by my university, and it defaulted to superscript brackets with blue numbers for cites and red for anything ...
2
votes
2answers
28 views

Properly setting \thecounter when defining \newcounter{counter}[resetwith]

With \newcounter{counter}[resetwith], I can define a counter to be automatically reset when resetwith changes. However, it seems that \thecounter is defined to just display the value of counter, and ...
0
votes
0answers
17 views

Revtex. Some DOI links broken with longbibliography

Consider this minimal example \documentclass[aps,longbibliography]{revtex4-1} \usepackage{hyperref} \begin{document} \cite{Caves1981,Holland1993} \bibliography{library} \end{document} The content ...
4
votes
1answer
103 views

Adobe Reader does not display borderstyle=U Textfields

In relation to this question, I just discovered, that the official Adobe Reader doesn't display TextFields, which have the flag borderstyle=U set. Minimal example: \documentclass{article} \...
0
votes
0answers
29 views

Multiple references to the same footnote with hyperref support in komacv

I red this and this related questions, but those suggested solutions don't work in komacv. It can also be my fault. I used footmisc in my MWE: \documentclass[style = oldstyle]{komacv} \usepackage{ ...
0
votes
1answer
10 views

How to fix a “destination with the same identifier” warning with subequations? [duplicate]

When compiling the following document (a minimal failing example): \documentclass[a4paper,12pt]{book} ...
0
votes
0answers
19 views

Hyperreferencing to an offline HTML file in overleaf

I have an interactive HTML file I developed in r. Now I want to include a link to that file in my Beamer presentation in overleaf. If I upload the HTML file in overleaf project , how can add a hyper ...
0
votes
0answers
12 views

Clickable table of contents with hyperref and dviaps+ps2pdf

Unfortunately, I still came across the problem from 2008, described here. Are there any news / solutions in the meantime? Known issue from 2009, edited in 2015: Don't miss out on the \...
2
votes
1answer
61 views

Embed hyperref \Form in Tikz picture

Is there any way I can embed a fillable PDF Form from hyperref's \Form (or anything equivalent) in a tikzpicture?
0
votes
0answers
14 views

How to change hyperlink colour in the content of the chapter? [duplicate]

I am writing a chapter in my thesis and have to give references for equations and theorems. But hyperlink to that is appearing in pink colour, which I want to change to black colour. For that, I am ...
0
votes
0answers
30 views

How do I coerce hyperref/url to use line breaks?

The MWE below demonstrates that hyperref/url is not automatically inserting line breaks for long URLs. What do I do? It also appears my backticks are not working anymore. \documentclass{article} % ...
4
votes
1answer
59 views

unexpected extra parskip before equation, when the last line reach the end

like the figure below, it always generates a extra vertical space, if the line before equation is full. what I have found: remove hyperref or option parskip=full* can solve this, but I want to know, ...
2
votes
0answers
30 views

Hyperref with align inside subequations

\documentclass{article} \usepackage{amsmath} \usepackage{hyperref} \usepackage{cleveref} \begin{document} Some text before the subequations. \begin{subequations}\label{eq:arithmetic} \...
1
vote
1answer
21 views

Hyperref not appearing in headings

When I enable hyperref, any cross referencing used in headings gets replaced with "??". When I disable hyperref, everything works as expected. Here's a MWE and a screenshot of the issue. I'm fairly ...
1
vote
1answer
23 views

PoS class incompatible with hyperref package?

I have to prepare a paper using the PoS class version provided by the conference organizers, and available via link: PoS for TWEPP 2018 However, I needed also to use the hyperref packet to provide ...
0
votes
1answer
26 views

Make custom citation command link to bibliography entry

For my bachelor thesis, I want to have both simple numeric citations in parentheses and the author year style for citations that are used as actual objects in the text. My solution so far is that I ...
4
votes
1answer
133 views

Why does hyperref refer to the wrong place when I define a new theorem?

I am writing a pdf textbook (using miktex & TexShop). The outline of the tex file is as below. Problem 2 refers to Problem 1. However, hyperref directs the reader to Thm 1. Is there a way for me ...
1
vote
1answer
41 views

Margin issues with newlfm class and hyperref package

Is there a way to realign the margins with the hyperref? The bottom margin seems to be out of alignment when used with the newlfm class. \documentclass[busletter,dateno]{newlfm} \usepackage{hyperref} ...
2
votes
1answer
45 views

Math in section headings

In my thesis, I have math/Greek expressions in some of my section headings. I am given the error message: Token not allowed in PDF string. I found \textorpdfstring{} from similar questions posted, ...
1
vote
2answers
47 views

How to give \homepage link another name?

In OverleafV1 the following code could be used in moderncv \homepage{LinkIn.com}{LinkedIn Profile} This would hide the website (LinkedIn.com) as a piece of text "LinkedIn Profile". After the merge ...
1
vote
1answer
32 views

Referencing character in Enumerate

I have this MWE: \documentclass{article} \usepackage{hyperref} \usepackage{enumerate} \begin{document} \begin{enumerate}[\label=(X1)] \item\label{i1} Hu \item\label{i2} Pu \end{enumerate} Hello \...
2
votes
1answer
27 views

Wrong hyperref links in TOC for manually set alphanumeric section numbering

I wish to have chapter appendices in the sense that there are sections at the end of chapters with \Alph numbering. My macros \chapterappendix, \mainchapter and \mainappendix work in so far as they ...
2
votes
1answer
39 views

How to make a link without getting additional functionality of hyperref?

I have a document where I want to insert a clickable link to a web page, which can be achieved with the below code. The problem is the default behaviour of hyperref also makes things like my table of ...
0
votes
1answer
23 views

Disabling hyperfootnotes when using pdfx package

I have a problem setting certain options of the hyperref package when also using pdfx: The pdfx manual states that pdfx already loads the hyperref package and that therefore custom options should be ...
3
votes
2answers
53 views

silence package leads to an error if the hyperref's pdftitle option contains a blackboard bold math letter

If the hyperref's pdftitle option contains a blackboard bold math letter, the silence package leads to the error (compilation silently stops after (./test.out) and a Ctrl+C is needed): ! ...
3
votes
1answer
30 views

hyperlink in amsrefs package miss the last parenthesis

It seems like a bug, I want to fix it but fails. I will describe the problem by the following MME: \documentclass{amsart} \usepackage[colorlinks,citecolor=cyan]{hyperref} \usepackage[author-year]{...
1
vote
1answer
22 views

How to give \href's different options without macros or global defaults?

I am trying to have the two \href in the code below behave with different options without having to invoke macros or global defaults. \documentclass{article} \usepackage{hyperref} \begin{document} ...
1
vote
1answer
15 views

Alignment of Multiline textfield in within \item

I would like to put a multiline Textfield in an enumerate einvironment. Unluckily the textfield is expanded to the top, not to the bottom of the page. The Numebr of the list is placed befor the last ...
2
votes
2answers
79 views

How can I deactivate hyperref but keep the bookmarks bar?

I don't want the readers jumping on text by mistakenly clicking on author names or figure/table numbers. So I want to disable hyperref but still keep the bookmark sidebar in the pdf file. Bookmarks ...
2
votes
0answers
42 views

Accented characters in a hyperlink, and problems with opening a new window

With this MWE, I have different results depending on the pdfviewer on linux box : Evince dosen't find the link because of the é, but opens a new window on a non-accented link Okular finds the link ...
1
vote
1answer
46 views

Scandinavian letters in Biblatex URL

Hello. I am trying to cite a webpage that uses the letter "ø", but my bibliography does not display the "ø" in the URL, making it look like it's not correct. I have searched for this problem for some ...
1
vote
1answer
28 views

Hyperlinks for blank section titles in html file compiled with make4ht

The hyperlinks work in compiled pdf file for the following tex document. The section names are blank. However when it is compiled to html using make4ht, the hyperlinks won't work. So there is problem ...
2
votes
1answer
26 views

Hyperref package not working with titlesec package when compiled with make4ht

The hyperref package seems to have conflict with titlesec package when compiled with make4ht. The following document is compiled with make4ht. The compiled html file doesn't contain table of contents. ...
0
votes
1answer
23 views

Cryptic error message when using cleveref and hyperref with subequations

Compiling the following document with pdflatex gives me a cryptic error message. \documentclass{article} \usepackage{amsmath} \usepackage{cleveref} \usepackage{hyperref} \begin{document} \begin{...
0
votes
1answer
33 views

Warning from hyperref when loaded in elsarticle

I use the class elsarticle to prepare my article to be submitted to Elsevier. In the past it works fine. Today I update my texlive and after that the warning from hyperref appears. An example is \...
0
votes
1answer
21 views

Referencing Appendix Items with own text

I just want to have a reference of an item from my appendix like this [see appendix D] or [see appendix F] and the D and F should be not manually be written, instead it should get that from the \ref ...
1
vote
0answers
21 views

Reference to proof prints section instead

I have several theorems in a document with the proofs in the appendix. After some theorem, I want to refer to the proof and, using the hyperref package, I want to make the reference clickable to avoid ...
7
votes
1answer
39 views

latex regex remove word

I am using the hyperref package and I want to make a command for writing \hrefs once with their protocol removed. For example, https://google.com becomes linked google.com http://google.com becomes ...
1
vote
1answer
17 views

Table of Contents links to wrong pages + Wrong header name

At the risk of being categorised as duplicates to this and that, which I found hard to follow because of the clutter specific to the original poster and because I am rather new to the language, I ...
1
vote
0answers
18 views

How to cross reference between tex files [duplicate]

I have looked at all the previously posted answers. None have answered my questions. This is my example: I have a main document called paper.tex: \documentclass[11pt,twoside,a4paper]{article} \...
3
votes
2answers
53 views

hypersetup with no box instead of white box

I like to hide some type of links to not distract the reader. I want to hide, say, cite links but show \href type links (I consider cite links do not need to be highlighted visually because the reader ...