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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
4 views

How to write chemical formula with branching and with labels for each branch

I would like to express a chemical reaction, which can lead to multiple products (has multiple branches). This is usually expressed using a forked arrow as in the example equation (1) below. I wrote a ...
1
vote
1answer
25 views

IEEEeqnarray + Hyperref -> reference jumps to the beginning of the document

This is a problem concerning \IEEEeqnarray, \IEEEyessubnumber, and \eqref in combination with hyperref.sty. \documentclass{article} \usepackage{amsmath} \usepackage{IEEEtrantools} \usepackage{...
1
vote
1answer
21 views

Hyperref error Incomplete \iffalse

I am trying to use hyperref package with my thesis, I put here a simplified version: \documentclass[a4paper,twoside,12pt,notitlepage,openright]{article} \usepackage[ansinew]{inputenc} \usepackage[...
1
vote
0answers
11 views

Bookmarks with Unprocessed Commands from chemnum and chemmacros

In my document, I have sections that contain chemmacros \iupac{} command with shorthands provided by chemmacros | as well as my own shorthand =. For some reason, these shorthands are printed in the ...
0
votes
0answers
11 views

Using \usepackage{attachfile} in a moderncv and it returns an error about hyperref. What do I have to do? [duplicate]

I just want to attach some files to a moderncv but it returns an error about hyperref though I'm not using any hyperref package. I have include \usepackage{attachfile} in other projects (all of the ...
0
votes
0answers
11 views

Xindy Hyperref and Cross references to subentries

Xindy for an index with cross references and hyperref do not play nice. This is why I tried the approach of this question which disables hyperrefs automatic linking for indexes and then uses Xindy to ...
1
vote
1answer
23 views

How to link to the references in the definition?

I want to add a link to the definition to a research from where I have took the definition. I have tried but it is not working. \documentclass[parskip=full, 12pt]{article} \newtheorem{theorem}{...
0
votes
0answers
28 views

Footnotes are not correctly linked

I'm writing my thesis and using a lot of packages. When I create a \footnote, the number appears with a link, but when I click the document goes to the first page. I read about some packages that ...
0
votes
0answers
17 views

gls option breaking hyperref howto combine options with hyperref [duplicate]

\glsadd{arts:BouguereauLeGuepier} works just fine, but if I try to mark the main entry I lose the hyperlink in the PDF. Guess I am just using the format option wrong but after about half an hour ...
0
votes
1answer
22 views

\autoref with subfiles in TexStudio

I am using TexStudio with the subfiles package to split my project into smaller pieces, with the advantage that I can compile a subfile indepentent of the main stuff. Now using the \autoref command of ...
0
votes
0answers
44 views

Showing pdfcomment for acronym from glossaries while using hyperref in memoir class

I'm trying to display in tooltips (using pdfcomment) the meaning of acronyms (using glossaries) in a memoir based class (similar to this question). To do that I created a newcommand named \glstip (see ...
0
votes
0answers
17 views

Capitalization variants of nameref

Several packages that generate inline text (i.e. glossaries, cleverref) have commands to let the author choose capitalization. In particular, glossaries seems to be able to do parts of this ...
5
votes
4answers
284 views

\ref takes reader to incorrect section

Context In the document I'm writing, I have redefined each environment and have included a new counter, called counter, to help with the numbering of the environments. My intention is for each ...
4
votes
1answer
31 views

How to hide just one link?

How can I hide just one link in a document? (I'd like to be able to create a "secret link" that is like an Easter egg that readers can find if they look carefully.) \documentclass{article} \...
1
vote
1answer
50 views

Hyperlink too large

I have a hyperlink enclosing an includegraphics. The hyperlink page dimensions are much much larger than the page dimensions of the enclosed includegraphics. \documentclass[letter,10pt]{article} \...
0
votes
0answers
18 views

Cite number of the Thesis page that was quoted the reference in the bibliography [duplicate]

I use \ usepackage {hyperref} and in my thesis I have no problem in creating the automatic links to go straight to the Bibliography or figures etc. But I saw in a thesis, that in the bibliography ...
0
votes
0answers
12 views

Change ToC color back to black / How do I change link color used by hyperref for a particular paragraph? [duplicate]

I used \usepackage{hyperref} % hyperref needs to be put at the end! \hypersetup{ colorlinks = true, citecolor = blue } and now my whole Table of Contents is red...! How do change ...
1
vote
1answer
40 views

Can't locate input line for an error

I'm trying to debug my thesis and found this warning in the error log: Package hyperref Warning: Difference (2) between bookmark levels is greater (hyperref) than one, level fixed on input line 161....
5
votes
2answers
87 views

hyperref fails with c-cedilla in a link

The following forces an error \href{https://fr.wikipedia.org/wiki/Gouvernement_de_la_République_française}{France} replacing or deleting the ç stops the error Error reported: ! Illegal parameter ...
-2
votes
0answers
38 views

Problem with hyperref and subtheorems [duplicate]

There is a package by AMS(?) called subequations, which allows one to label equations (1.1a), (1.1b), (1.2) and so on. A similar script has been written by some members of TeX.SE for theorems; one ...
2
votes
1answer
45 views

Scalebox not working properly inside hyperlinks when using ocgx2 package

I am using hyperlink text formatted with graphicx' \scalebox command with independent factors for horizontal and vertical scaling. When formatting is applied inside hyperref's hyperlinks, the text in ...
0
votes
0answers
34 views

why the citation does not link to reference?

%\documentclass[manuscript]{biometrika} \documentclass[lineno]{biometrika} \usepackage{amsmath} %% Please use the following statements for %% managing the text and math fonts for your papers: \...
1
vote
1answer
27 views

biblatex hyperref enable hyperlink for the complete footcite

I noticed that my \footcites which should be working with hyperref are not completely "hyperlinked". Only a part or sometimes even the space between word is hyperlinked and will refer to the correct ...
2
votes
0answers
47 views

Is there a standard for hyperlink colors used in tex pdf documents

This is my first project using Latex (and I like it a lot), but having most experience as a software developer I'm wondering if there is anyone in the writers community who can answer this question. ...
1
vote
1answer
47 views

How to use \MakeUppercase in \sectionlinesformat together with hyperref?

Is it possible to use \MakeUppercase in KOMA-Script’s \sectionlineformat to get uppercase section headers without breaking hyperef’s PDF bookmarks? The following example shows the problem. The \addsec ...
2
votes
1answer
28 views

Biblatex : have hyperref links point to the shorthand list

I have an authoryear-style bibliography, but use shorthands for some commonly cited works (via shorthand bibliography fields). So in my documents (see MWE below), references look like Fraser (1987) (...
1
vote
1answer
34 views

Make appear hypertarget labels in PDF

Some time ago (TeX Live 2013), xelatex stored labels of hypertarget in PDFs. Then (at least in TeX Live 2016) the behaviour was changed, there are no more symbolic names inside. How can I get the ...
1
vote
1answer
38 views

Hyperref (href) not using alternative to “www”

I'm trying to use the hyperref package in Latex to link a specific website using href. The problem is that using a URL such that \href{https://link.springer.com}{book} produces a clickable link that ...
2
votes
1answer
79 views

Inaccurate hyperlink to customly defined theorems

I used the answer here to help me create a document where numbering for theorems and the like appears on the left. But I would like to be able to reference and hyperlink back to these theorems/...
2
votes
1answer
24 views

Two pages “1” with package hyperref

When compiling a LaTeX document, I get two pages numbered at "1": the front page and the first of the table of contents. Here's a MWE: \documentclass[12pt,a4paper]{report} \usepackage[english]{babel} ...
0
votes
1answer
20 views

Using \href in a footnote to link to a specific page of a local PDF file yields “illegal parameter number”

I want to use a \href to link to a specific page in a local PDF file. This works fine, as long as I don't put that \href in a \footnote. Linking to just the PDF file without linking to a specific page ...
2
votes
3answers
130 views

Label reference somehow appears in PDF bookmark; how to get rid?

The following code produces the following PDF. \documentclass{article} \usepackage[bookmarks=true] {hyperref} \begin{document} \part{\label{blah}Hi} \section{Answers to Part \hyperref[blah]{Hehehe}}...
1
vote
0answers
19 views

Change color of citation call-outs under hyperref [closed]

I have tried to find a solution to a problem that I am having regarding the color of the citation numbers. Below is the code that I have used for the links, but the citation numbers are still green. I'...
0
votes
0answers
60 views

Hyperref not jumping to the appropriate location for memoir's subbottom

I'm trying to utilize native Memoir subbottom command. However, I'm unable to make hyperref links jump "to the picture", rather than "to the caption". Only links to (a) and (d) work as desired. \...
1
vote
0answers
15 views

href not working on texlipse

I´m trying to add a hyperlink, like this example \documentclass{book} \usepackage[colorlinks=true, linkcolor=blue]{hyperref} \begin{document} \href{http://google.com}{Google} \end{document} But I ...
0
votes
0answers
38 views

Insert TOC at start of document

I'm trying to insert the ToC and later on the other lists (lot, lof,...) directly after \begin{document} using the hook \AtBeginDocument. This is working as long as hyperref is not loaded with \...
0
votes
1answer
26 views

Beamer: \appendix to add extra slides produces warning: Token not allowed in a PDF string

I am re-running an old Beamer presentation with TexLive 2017, and the command \appendix produces a warning that it did not use to produce, though it does work properly: Token not allowed in a PDF ...
1
vote
1answer
28 views

Link to a section frame links to first page

I want to link to a section frame from another frame. \hyperref[label]{Text} should do the job but it links to the first frame instead. My MWE (using XeLaTeX): \documentclass[aspectratio=43]{beamer}...
1
vote
0answers
30 views

Efficiently setting category code for a range of characters

I kept thinking about using Cyrillic characters in command names with PDFTeX engine. It looks to me so far that if I stay with 8-bit encoding and assign category code 11 to all Cyrillic letters ...
2
votes
1answer
37 views

Problem with Hyperref. Only shows text and not any clickable link

Hi I am using TeXmaker (version 4.4.1 (compiled with Qt 5.4.2 and Poppler 0.38.0)) to compile LaTeX. I am facing problem with hyperlinks. None of my hyperlinks are clickable. They don't even follow ...
1
vote
1answer
27 views

\protect vs \texorpdfstring in description lists' keys

I'm referring to chapters and sections in a description list. I want the link to include the chapter or section part as well. I found two options to achieve this: use \protect or use \texorpdfstring. ...
0
votes
1answer
28 views

autoref for subsection

When I use autoref for subsection, I want the in-text to be section 1.1 instead of subsection 1.1. How to do that. I tried to write it with ref as: section \ref{sec:subsection} But the problem is ...
2
votes
1answer
75 views

Barcode fields with hyperref forms

Does a hyperrefextension package exist that allows barcode fields in a hyperrefform? The barcodefield description can be seen at page 45 in the PDF ISO documentation: ISO3200 barcode fields. Here ...
6
votes
1answer
55 views

How can I inject a suffix into a \@currentlabel anchor with hyperref?

Ultimately, I'd like an injection hook in \@currentlabel to add a suffix to the anchor like this: \edef\@currentlabel{\p@counter\thecounter<HOOK>} with hyperref loaded. I thought about ...
0
votes
1answer
30 views

`\ref`erence in uppercased header (memoir + hyperref)

I would like to reference something in a header, while still having it upper-cased. Is it possible to "protect" the \ref commands? \documentclass{memoir} \usepackage{hyperref} \begin{document} \...
0
votes
0answers
30 views

Remove colour from footnote reference inside footnote

Is there any way to keep the footnote reference colour inside the text, such as the magenta "7" here: but make the colour black in the actual footnote, i.e. making the magenta "7" here black: What I ...
2
votes
0answers
27 views

Remove ugly borders around clickable cross-references for Equations and Footnotes but keep them for figures, table and citation

I know that hyperref can make cross-references and hyperlinks clickable and I know how to get rid of all the border(the little green boxes around the clickable area) from this post, but I would like ...
1
vote
1answer
38 views

interactive algorithm line numbering hyperref

I needed two algorithms where client-server interact. I wrote a figure with two minipages each containing an algorithm. \begin{figure}[!htb] \begin{minipage}[t]{.48\linewidth} \algrenewcommand\...
0
votes
1answer
79 views

How to change the color of first half of parenthesis in citation?

Hi I am using the natbib compatibility mode under biblatex: \usepackage[style=authoryear-comp, sorting=nyt, natbib, uniquename=false, maxbibnames=99, dashed=false]{biblatex} I frequently ...
1
vote
2answers
40 views

Discontinuing page numbering: Hyperlinks in the index of a document don't work properly

My code: \documentclass[ titlepage, abstract ]{scrartcl} \usepackage[texindy]{imakeidx} \usepackage{hyperref} \makeindex[intoc] \title{Test} \dedication{...