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}.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

Package hyperref Warning: Token not allowed in a PDF. (using \frac{}{} in Section title}

I am having warning issue as below: I know is because of hyperref. I tried: \section{text \texorpdfstring{{$J = \frac{1}{2}$}}} Original is: \section{text {$J = \frac{1}{2}$}} But is not ...
1
vote
1answer
37 views

Is it possible to use LetterSpace (fontspec) with urls (hyperref)?

Using fontspec (with xelatex in this case), LetterSpace in an option for fonts that allows for adjustment of the spacing between glyphs. However, the hyperref package seems to override this, as shown ...
0
votes
1answer
40 views

Can I put maths symbol for example: $\boldsymbol{e}$ in Chapter title?

I wish to put maths symbol in my Chapter title, but when I run Overleaf, it give warning, but not error. It said Package hyperref Warning: Token not allowed in a PDF string My WME: \...
1
vote
0answers
24 views

Index hyperlink wrong jump to physical page, not the numbered page

In the sample memoir document below, the \index(two} entry on the mainmatter page number 3 (which is physical page 5 of the entire document) appears in the index as two, 3 However, the Index ...
1
vote
0answers
26 views

chemnum: bringing custom labels to PDF bookmarks

This question was already asked on GitHub. The author of the great chemnum package initially proposed that one can define custom labels for chemical compounds. This is very useful when referencing ...
0
votes
1answer
12 views

Hyperref refers glossaries links to front page and not to glassarie

I have problems with my glossaries/hyperrefs. The glossaries uses in imy text are links but only refers to the first page and not to the "Abbraviations" or "Symbols". The code is distributed pver ...
0
votes
0answers
28 views

how to use \usepackage{hyperref} and \usepackage{chapterbib} together in the tex file?

I wanted to have separate bibliography at the end of each chapter, So I used \usepackage{chapterbib}. So far everything is good. But when I add \usepackage{hyperref} to my main.tex file, I get an ...
0
votes
0answers
37 views

Change the color of the bibliography (R template, hypersetup)

I'm trying to get something like that (based on Jordan Suchow's template 'Dissertate') using a LaTeX template for running with Rstudio: but I haven't had the results I want, I've been looking for ...
0
votes
0answers
23 views

Compile Error: TeX capacity exceeded, sorry [parameter stack size=10000]. When I cite with a wikipedia url on Latex on Overleaf

I am working with macOS High Sierra 10.13.6 version and I am doing a project report on Latex on overleaf.com. I have the errors on Latex: "LaTeX Error: Option clash for package hyperref." and "TeX ...
0
votes
0answers
76 views

How to make one CheckBox (from hyperref) status dependent on other CheckBoxes'?

I want to have four CheckBoxes A, B, C and D: B,C and D change their status on mouse click, in the usual way. And A is checked automatically only when all B, C and D are checked, A doesn't response ...
0
votes
0answers
8 views

Has this toc anchor fix been incorporated into memoir now?

The answer https://tex.stackexchange.com/a/512752/13492 provides a fix for changing where a hyperref anchor to the TOC header is placed with memoir. Does the current version of memoir now eliminate ...
0
votes
1answer
15 views

footmisc and hyperref hyperlink failure

I am using \usepackage[bottom]{footmisc} with hyperref package. I have loaded the hyperref package at last as suggested in many answers. When I click the footnote hyperlink, it takes me to the title ...
3
votes
1answer
58 views

Referencing on photo

How can I make it when I click number for referencing to go on picture NOT on caption text. I hope you get what I want haha, when I click 1 (for ex) to go on picture/figure 1 not on caption text. \...
1
vote
0answers
19 views

Center equation vertically after passing through hyperref

\documentclass{article} \usepackage{amsmath} \usepackage{hyperref} \begin{document} \begin{align} f(x)=x \label{eq:one} \end{align} \eqref{eq:one} \end{document} With this set up (or without the ...
0
votes
1answer
34 views

Change hyperref's links colors without modifing the .tex file

For editing purposes I need to compile a .tex file changing the hyperref's links colors. E.g. if I have: \documentclass[11pt]{article} \usepackage{amsmath} \pagestyle{empty} \usepackage{graphicx} %% ...
0
votes
0answers
42 views

Linebreak before a link

In German, abbreviations can be part of compound words that need to be hyphenated, like "Java-API". My problem is that when I write Java-\gls{api}, I never get a line break after the hyphen. I ...
0
votes
0answers
11 views

using \leftmark gives me the section label rather than the section name

I write my lectures in separate documents and when I include them in the main document I use \leftmark in the header to display the section. I tried something new, adding a footnote to the section ...
0
votes
1answer
36 views

subsections of \addcontentsline{section} with wrong bookmarks

I have a problem with the bookmark hierarchy after using \addtocontents to introduce some special lines to the table of contents. Concretely, after starring section.2 and adding the corresponding (...
0
votes
1answer
26 views

Use Roboto monospaced font for \url

I am using the Roboto font for section titles; I also want to use it for ttfamily kind of cases, such as \url, especially because it is more condensed than the default font. Looking at the font ...
1
vote
1answer
43 views

Easy way to refer to local examples and equations without labeling them

Writing linguistic texts one often just refers to the preceeding or following example. Usually one does not need labels for this. I would like the (\mex{1}) references to behave more like references ...
0
votes
1answer
28 views

Option clash for package url. \urlstyle

options clash for package url here is my small document \documentclass[oneside,mtp]{iiitg} % To add a bookmark in the pdf you can use \pdfbookmark. You can look up its usage % in the hyperref ...
0
votes
0answers
16 views

Cref an algorithm with its caption

When I \cref an algorithm, it shows "algorithm 1". Is it possible to ref an algorithm with its numbering and caption? Like "algorithm 1 foo", where "foo" is the caption of algorithm 1. Thanks a lot
0
votes
0answers
42 views

Which texlive package can give me hyperref functionality?

So far I've installed sudo apt-get install texlive-publishers and sudo apt-get install texlive-science, but I don't want to sudo apt-get install texlive-full because of the huge download. Using \...
0
votes
1answer
34 views

How does `\autoref` (from the package hyperref) know what type of labels I am referring to?

I have been digging the source code of \autoref for quite a while, but haven't understood the way \autoref determines the types of labels. I am sort of lost in the relevant code (hyperref.dtx line ...
0
votes
0answers
32 views

Warning in Package hyperref: /PageLabels entry

I am getting this warning Package hyperref Warning: Rerun to get /PageLabels entry, when I use \href in res.cls. How can I eliminate the warning? Here is an example: \documentclass[line,margin,11pt]...
1
vote
1answer
74 views

AUCTeX: Format URLs with percent sign

How I can bring AUCTeX not to format percent sign within \url{}? The document will be set fine, but if some of such URLs are in a document, the source code does not look so good.
0
votes
0answers
27 views

Creating different styling for links

I'm using this for customizing hyperref: \hypersetup{colorlinks=true,citecolor=blue,linkcolor=blue,urlcolor=blue} Also, I'm using the acronym package to define abbreviations in my paper. To refer to ...
2
votes
1answer
29 views

Wrong anchor point for matplotlib pgf

I have exported my curve from matplotlib using the following guide. But there is a problem with reference at y-axis label. You can see it on screenshot: The red square should be at "1" in "(s. 1)". I ...
0
votes
0answers
16 views

Reference unnumbered starred header and titlesec [duplicate]

This is a follow up to this question: How to cross-reference an unnumbered section? My issue is that, in my document, I use the {titlesec} package. For some reason that package interferes with the ...
0
votes
0answers
25 views

URLs with special symbols don't seem to work with TeXShop

I've been using TeXShop for ages, it is my to-go LaTeX editor. When compiling (LaTeX) URLs with special symbols get screwed up hyperlinks, no matter what I try. Not even definining the url outside ...
0
votes
1answer
13 views

includepdf addtotoc bookmark encoding

When I use includepdf addtotoc option with pdflatex, bookmarks generated by this command produce gibberish: This is the code: \documentclass[a4paper]{memoir} \usepackage[T1,T2A]{fontenc} \...
1
vote
1answer
31 views

hyperref - \autoref: small space as separator

A command like \autoref{eq:speed} outputs Equation~1. I.e. there is a blank (a protected space, I guess) between Equation and the number. How can this be changed, e.g. into a small space?
0
votes
0answers
10 views

hyperref in title of ifacconf document disabled

Ii wanted to hyperlink a little symbol (the OCRID) in the list of authors but apparently hyperlinks are disabled in the frontmatter of the ifacconf-style. (I wanted to combine this and this post) Any ...
0
votes
0answers
25 views

using hyperref and breakurl package inside a template red square boxes in table of contents

In the lines 192,193 of project I have following lines are in the original template given by department (I did not touched them they are as it is) \usepackage[bookmarksnumbered,pdfpagelabels=true,...
1
vote
1answer
46 views

moderncv add link to telefone number

I tried to customize moderncv to make my telephone number clickable. In other documents I successfully used the following: \usepackage{hyperref} \href{tel:number_to_dial}{number_to_display} ...
0
votes
1answer
34 views

Changin URL display text in citation

I am using hyperref package which automatically loads url package for me and using them to give citation in a document. The standard use of cite+url is, in my understanding, \cite{cite_key} REFERENCE,...
0
votes
1answer
16 views

hyperref specifying styles for certain types of links

Using the hyperref package, I want to have my cross-reference links (tables, figures, sections) to be formatted in small-caps. I'm aware of the frenchlinks option, but that turns every link into small ...
1
vote
2answers
31 views

Hyperref not working with superfullcite

I hope this is not already answered somewhere else in the forum, I have been looking for a while and I have not found anything... The thing is I am sorting my bibliography using the superfullcite ...
1
vote
2answers
23 views

Renaming equation name for reference is causing unwanted horizontal spaces

I succeded in renaming my equation names from the german word "Gleichung" into "Formel" through the following page: https://golatex.de/formelverzeichnis-erstellen-t6688,start,8.html This equation ...
1
vote
1answer
28 views

Adapting babel specific code for polyglossia in XeLaTeX

Using pdflatex and babel I have this code (taken from the answer to this question) to redefine the way \autoref from the hyperref package prints my references, it also adds automatically the ...
0
votes
0answers
42 views

What does this hyperref warning mean?

I would like to know what is this means? usr/local/texlive/2019/texmf-dist/tex/latex/hyperref/hyperref.sty Package hyperref Warning: Option `letterpaper' is no longer used. This is my works: \...
1
vote
0answers
23 views

Count references and link pages

I'd like to know how to count the number of times that I cited some reference and to mark the pages that I make the reference. Below you will find an exemple, where "Citado 3 vezes nas páginas vii, 28 ...
1
vote
1answer
29 views

toggle on/off hyperref options in document

Using the package hyperref I want to toggle on and off a certain option at different places in the document. To be specific: I want to use the frenchlinks option, but disable that for the table of ...
0
votes
1answer
27 views

“> 0” in List of Figure memoir documentclass

I am encountering the following problem while writing a thesis using the memoir documentclass. In particular, I need to use graphicx and subcaptions. This yields the correct results and creates ...
0
votes
1answer
28 views

OCGX Overlapping Links Visibility

I'm using OCGX to generate multiple layers with text and links. All layers are set invisible/hidden (0) by default, except one "main" visible layer. The purpose of this is so when the PDF is opened in ...
0
votes
1answer
28 views

underline with hyperref

I try to underline my links. So far, I tried to use the solution in this post but it doesn't seem to work. I also try with \underline inside the \href but the result isn't great. Here is the code I ...
0
votes
0answers
31 views

hyperref external reference

I want to reference external documents using hyperref on the files test1 and test2 below. Presumably for security reasons, the links don't work. With MacOs Preview nothing happens and Adobe Reader in ...
0
votes
0answers
22 views

hyperref links not working with enumerate

Consider the following MWE: \documentclass[12pt]{amsproc} \usepackage{hyperref} \newtheorem{theorem}{Theorem} \begin{document} \begin{theorem}\label{T1} \begin{enumerate} \item \end{...
0
votes
0answers
56 views

Inconsistent URL encoding between macOS's Preview and Adobe Acrobat

I am adding a footnote: \footnote{\url{http://example.org/\#manual}} The hashtag # escaped and success in compile the document and result in a http://example.org/#manual footnote. However, the link ...
1
vote
2answers
31 views

Manipulating \nameref title

I'm trying to create a new command that will act like \nameref but the output will manipulate the original name of what I'm referencing. To be more specific, I'll give an example: \documentclass{book}...

1
2 3 4 5
76