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
1 answer
9 views

Build hyperlink between Author name and footer

In the following code, I try to build a hyperlink between the Author name and left hand footer. That is to say, when I click the text Author name(made by \author), the page view will jump to left hand ...
user avatar
  • 2,321
1 vote
1 answer
21 views

Protection setting \@currentlabelname to give a "name" to a \phantomsection

This is a follow-up question to nameref With Arbitrary Text and also Refer to arbitrary text (without numbering and not by section) To summarize, the question was about how to reference to an ...
user avatar
  • 21
0 votes
0 answers
10 views

Appendix referencing is not working when using arabic with babel

I am using arabic and french in a report document using babel, the arabic is used for the abstract and it's not used in the appendix (the appendix is 100% in french). When using only french in babel ...
user avatar
  • 1
1 vote
1 answer
30 views

Package hyperref conflicting with \textprime

When I load hyperref, the command \textprime{} (from the package flexisym) causes the error LaTeX Error: Command \textprime unavailable in encoding TU., while working fine without hyperref. Is there a ...
user avatar
0 votes
1 answer
25 views

How to make hyperlink to solution in theorem/problem name cover the counter

After Ulrike Fischer helped me out at this thread, I just had one troubling aspect remaining while getting the formatting together for some textbooks that I have written. I was thinking of ignoring it,...
user avatar
  • 101
0 votes
0 answers
58 views

hyperref error in case some class option is given at load time

In the MCE below, everything works as expected: \begin{filecontents}[overwrite]{myclass.cls} \ProvidesExplClass{myclass}{2022-06-15}{0.1}{Class of mine} \NeedsTeXFormat{LaTeX2e} \LoadClass { article } ...
user avatar
0 votes
0 answers
21 views

Not going when clicking on sections summary, list of table, list of figures, abbreviations

I am writing my master thesis in latex. However, when I click on the summary, foreword, list of figures, list of tables, and abbreviations resume in the table of contents, it goes to the wrong page. \...
user avatar
2 votes
0 answers
27 views

PDFAnnotExtractor 0.1l causes an error with class file versions 55.0

Faced a problem with PDFAnnotExtractor 0.1l. Problem with update of PDFAnnotExtractor? Just try in TeXLive\2022\texmf-dist\scripts\pax\ java -jar pax.jar And get an error (with last updated Java 1.8....
user avatar
  • 5,006
1 vote
0 answers
29 views

Beamer warning `pdfauthor' has already been used

I'm using the minimal example presented in this old Answer, even though, still I encounter this warning: Package hyperref Warning: Option 'pdfauthor' has already been used, setting the option has no ...
user avatar
  • 155
0 votes
2 answers
38 views

Efficient way of dealing with labels on large files

When dealing with a large tex file manually labeling definitions and equations can become quite a hassle: for sanity, I like to keep a single numbering system on my labels (so for example I star with \...
user avatar
0 votes
1 answer
21 views

hyperref same identifier warning with side-by-side algorihtms

The code below is used to generate two side-by-side algorithms that float to the top of the page. \documentclass{article} \usepackage{algpseudocode} \usepackage{algorithm} \usepackage{caption} \...
user avatar
  • 371
0 votes
0 answers
30 views

Button to show and hyperref hidden page

As the title says I want to create a button which triggers hyperlink to a page but also shows a hidden layer. I found many Ocgx2 soutions to hide/show layers from @alexG, but I couldn't find a ...
user avatar
0 votes
0 answers
12 views

Problem using backref with natbib and apsrev bibliography style

I am trying to add backreferences to my Latex file. I have tried using the backref option in two different ways: \usepackage[pagebackref = true]{hyperref} \usepackage[sort, numbers]{natbib} and \...
user avatar
0 votes
0 answers
17 views

\BibUrl based on \url command refuse take % symbol

Can't figure out why \BibUrl command refuse take % symbol while \url does it. After all \BibUrl just call \url. \documentclass{article} \usepackage{hyperref} \begin{document} \url{https://ru....
user avatar
2 votes
3 answers
57 views

Fillable PDF form autoscaling font size [duplicate]

I want to create a pdf with several fillable form boxes but I can't do so with any free PDF software. I can do it in LaTeX but I can't seem to figure out how to get the text in the fillable form to ...
user avatar
  • 21
1 vote
2 answers
41 views

Prefix on references

When I label a definition, theorem..., and I later reference it, I don't get the "Definition" or "Theorem" prefix. I'm using hyperref on Overleaf. In the following image, I want to ...
user avatar
  • 25
0 votes
1 answer
35 views

Including parentheses in link to equation

In this answer is proposed a way to color the parentheses when using \eqref. However, the parentheses are now not part of the hyperlink. Is there a way to include them?
user avatar
  • 161
0 votes
0 answers
44 views

\pageref{} produce wrong page number when \label{} comes top of the page

I am trying to create a para id with page number as a separate file, through a command \def\paraopenid#1{\label{#1}\immediate\write\paraID{<ParaID="#1" StartPageNumber="\...
user avatar
  • 1,774
-1 votes
0 answers
46 views

\ref command not working

I am new to LaTex and having this weird problem. I downloaded the MDPI latex template (https://www.mdpi.com/data/MDPI_template.zip?v=20220426). On line 195 there are three \ref commands: All figures ...
user avatar
0 votes
0 answers
87 views

EuropeCV fails with LaTeX2e pre-release because of loading hyperref in \AtBeginDocument

Below is a minimal example that compiles successfully with stable TeX Live 2022 pdflatex but fails with the latest (and expected to be released in a couple days I think) pdflatex-dev: \documentclass[...
user avatar
  • 12.4k
0 votes
0 answers
19 views

How can I produce hyperlinks to \endnotes similar as the package does with \footnotes?

I am using the packages "endnotes", and also "hyperref". But for endnotes there are no hyperlinks produced like it does for footnotes. What can I do to have links to endnotes ...
user avatar
0 votes
0 answers
24 views

Page breaks in hyperlinks [duplicate]

While following Manual hyphenation in text part of \href, I wondered how TeXLive handles \href hyperlinks with line breaks in its text part if the parts before and after the break end up on separate ...
user avatar
3 votes
2 answers
76 views

Manual hyphenation in text part of \href

How can I use manual hyphenation commands (see https://de.wikibooks.org/wiki/LaTeX-W%C3%B6rterbuch:_Silbentrennung) inside the text part of \href? \documentclass[a5paper]{article} \RequirePackage[...
user avatar
  • 33
0 votes
0 answers
21 views

Why is hyperxmp suppressing the PDf Info dictionary?

The following source generates in the log file the following: Package hyperxmp Warning: Suppressing the _entire_ PDF Info dictionary. (hyperxmp) Please notify the hyperxmp maintainer. .....
user avatar
  • 6,538
0 votes
2 answers
24 views

Error when using hyperref and thmtools

\documentclass[12pt]{article} \usepackage{hyperref} \usepackage{amsthm} \usepackage{thmtools} \usepackage{hyperref} \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \...
user avatar
  • 15
1 vote
0 answers
23 views

How to refer to the last overlay of slides without overlay specifications?

By default, \ref{slidelable} refer to the first page of the labeled slide. The author wants to change the default to be referring to the end page of the slide. Since the author uses overlays <+> ...
user avatar
0 votes
0 answers
41 views

Hyperref: remove links in internal references and footnotes

I have written a book and I invoked the hyperref package but the package produces some inconveniences: I made use of \label{} to make internal references, hyperref misleads the page numbers: ...
user avatar
  • 85
1 vote
0 answers
23 views

Why doesn't autoref capitalize?

Why does \autoref not capitalize my sections? I think it capitalizes everything else and I have the line \newcommand{\sectionautoref}{Section}. \documentclass{article} \usepackage{graphicx} ...
user avatar
  • 690
0 votes
1 answer
32 views

Testing bookmark glyphs (testbmgl.tex) fails

After installing TeX Live 2022, I pdflatexed (twice) a local copy of https://github.com/latex3/hyperref/blob/main/test/testbmgl.tex. The resulting bookmarks are quite different to the one created by ...
user avatar
  • 14.3k
0 votes
0 answers
24 views

Do not colour glossary entries on demand

I am using the glossaries package with hyperref set up so that hyperlinks are coloured. However, I would like to change this behaviour when the acronym is used in a heading. For example, I would use \...
user avatar
  • 595
0 votes
0 answers
22 views

Change the default font for textfield (Hyperref)

So, I'm trying to make a fillable pdf using latex Hyperref package. While the process works for what I intend to do, I can't find any way to change the font of the Textfield. I tried the following ...
user avatar
0 votes
2 answers
79 views

How can I use a label (produced by \ref) as URL in hyperref's \href?

How can I use a label (the result of \ref) as first argument (URL) in a \href command? I want to be able to do: \documentclass{article} \usepackage{hyperref} \begin{document} \def\URLcite#1#2{%\href{\...
user avatar
  • 145
0 votes
4 answers
76 views

Hyperlinks of footnotes with multiple numbers/markers

In this answer, I created two commands \footnotenumber and \multifootnote for writing footnote with multiple numbers. The problem with these commands is that hyperlinks do not work as in usual ...
user avatar
  • 6,080
4 votes
2 answers
139 views

How can I expand or detokenize a macro before using it in a hyperlink?

So I have some information stored in a macro that is used already elsewhere and can contain formatting macros like \small or similar and I want to expand or detokenize those commands before also using ...
user avatar
  • 4,490
0 votes
0 answers
31 views

Hyperlink from hyperref package doesn't match with the content

I'm trying to use the hyperref package in order to link my Table Of Content. But when I'm using it, the "hyperlink" doesn't match with the table's content (picture is provide below, surely ...
user avatar
0 votes
0 answers
37 views

Making hyperref, cleveref, and answers work together

I am using the following packages in a math textbook that I am writing: The answers package to be able to put solutions to problems at the end of the book The hyperref package to be able to link ...
user avatar
  • 101
0 votes
0 answers
20 views

Place figures after the cross-reference

Is there a way to make sure figures and tables appear after the cross reference? I'm 100% sure I have read that a package has got the option to do exactly that, but I can't recall for the life of me ...
user avatar
3 votes
2 answers
91 views

Hyperrefs from scatter plot to text

Using this example for a scatter plot, I hacked together a working plot for my document. To perfectionize my plot, I would like to have each plotted point (circle or square) to also be a hyperlink to ...
user avatar
0 votes
0 answers
28 views

Figure reference number refers to section number and not to figure

I want to have the reference number of the figure referring to the figure number (1) and not the subsection number (1.1). What shall I do? Here is the output: Here is the code: \documentclass[a4paper,...
user avatar
  • 781
9 votes
2 answers
286 views

Shorten links in URL

EDIT: See this answer if you also want your links to not overfull (they'll hyphenate wherever they see fit though) I have seen this, but biblatex is used there, I don't use that in my case. Is there a ...
user avatar
  • 177
1 vote
0 answers
36 views

\hypertarget changes pdfview locally

How can I change the behavior of PDF view for only one \hypertarget, but others should stay unchanged. I'm trying to make a link to the text, but I want exactly this link not to change X position of ...
user avatar
  • 1,995
0 votes
0 answers
7 views

how to jump to a whole frame in beamer

I try to use \hyperlink command to jump between frames, while it's not like the kind of jump as in the tableofcontents. I want to jump to an entire frame, not in the middle of a frame. Can anyone help ...
user avatar
2 votes
0 answers
30 views

Conflict with hyperref's draft option, cleveref's \cref and... \textbf in \caption

The following MCE compiles like a charm. \documentclass{article} \usepackage{hyperref} \usepackage{cleveref} \hypersetup{draft} \begin{document} \begin{figure} \caption{% foo% % \textbf{...
user avatar
0 votes
1 answer
40 views

Hyperref with internal link toward bib url entry

When using the hypperref package, with the \citet{} commandline from natbib, the internal link send to the bibliography at the end of the document. Is there anyway to configure hyperref or natbib such ...
user avatar
2 votes
2 answers
87 views

Hyperlink occurs empty space also for Centered text

Using LuaLaTeX, I am getting hyperlink anchors in unwanted places, shown in the MWE (PDFLaTeX, XeLaTeX produces prompt output). I only want the actual text to function as an anchor, not the ...
user avatar
  • 1,218
0 votes
0 answers
27 views

LaTeX package error: Conflict between siunitx rounding precision and hyperref

I want to round numbers in my tables and have content for my document. However, when I typeset the MWE \documentclass{article} \usepackage{siunitx} \usepackage{hyperref} \usepackage{xifthen} \sisetup{...
user avatar
  • 1
0 votes
0 answers
24 views

hyperref and \addcontentsline's patch in expl3 block

I want to patch \addcontentsline command for changing \thepage to \thechapter--\thepage. However I found that things went wrong when I used expl block: \documentclass{book} \usepackage{etoolbox} % \...
user avatar
  • 1,121
0 votes
1 answer
18 views

Default value of hyperref's pdfborderstyle setting

I have a document where I want to use underlined PDF hyperlinks for the most part, but in one certain part, I need boxed PDF hyperlinks again. I know that \hypersetup{pdfborderstyle={/S/U/W 1}} causes ...
user avatar
  • 273
0 votes
0 answers
26 views

Named Equations with cleveref

I have a strange problem, where using a tag with an equation creates a warning (that obviously later leads to some unwanted behavior, though not in the context of this question) I use to import two ...
user avatar
  • 367
1 vote
1 answer
23 views

How to add a downloadable .zip link to Overleaf using documentclass Report?

.zip have to be added to a chapter: \begin{document} ..... \chapter{Datasheet}\label{ch:attachment_B}{ \href{file.zip}{Click t download}. } \end{document} packages used at the top: \...
user avatar
  • 13

1
2 3 4 5
90