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
0 answers
19 views

Backref not adding backref to all references of \cite command in the bibliography

I'm using backref to add the page number in front of each citations in the bibliography. I also needed to add the the word 'page' before each backref hyperlink. main.tex: \documentclass{article} \...
user avatar
  • 101
0 votes
2 answers
31 views

How to use "Chapter One" instead of "Chapter 1" when referring to it in the main text

I want to use "chapter one" instead of "chapter 1" when I refer to a chapter inside the text. When I use \ref{ch:label} it just returns the chapter number, and when I use \autoref{...
user avatar
2 votes
1 answer
49 views

Getting rid of unwanted double space

After asking a question on how to implement a particular basic index from scratch, I created a LaTeX package with the solution I found (hereapplies.sty). The usage is very simple. For example, \...
user avatar
  • 143
0 votes
1 answer
42 views

How can I set pdfinfo based on content of external file?

How can I include the contents of an external file in the PDF metadata (either built-in attribute like Subject, or custom one like My ID)? I have written some text to shell-output.txt with, for ...
user avatar
1 vote
1 answer
32 views

Add PDF bookmarks to list of figures, list of tables, and figure and table captions

I want to bookmark my LaTeX-created .pdf file in two ways: in the \listoffigures and \listoftables and at the figures and tables themselves. I started trying to apply Bookmarks under List of Figures, ...
user avatar
2 votes
4 answers
78 views

Implementing a very basic index from scratch

I am creating a document in which in the first chapter I define some concepts – each with its own dedicated paragraph (something like: concept one, concept two, concept three, etc.) – and in all the ...
user avatar
  • 143
1 vote
0 answers
18 views

How to make link on text and not on cell with tabularx

Consider the following: \documentclass{minimal} \usepackage{tabularx} \usepackage{hyperref} \begin{document} \begin{tabularx}{\linewidth}{|X|l|} Text spanning over multiple lines. ...
user avatar
  • 4,680
0 votes
1 answer
44 views

ß inside \path{} of hyperref-package

I want to insert a file path containing a ß. Therefore I want to use the \path{}-command from the hyperref-package to set it correctly (i.e. not to replace all \ by /). But my file path contains a ...
user avatar
1 vote
1 answer
15 views

Collapse specific item in bookmarks — hyperref

Using bookmarksopen option for hyperref, the tree of bookmarks is automatically expanded. I'm curious how can I collapse one specific item (chapter, section etc.)? Maybe there's a command like \...
user avatar
  • 2,793
3 votes
1 answer
59 views

Possible incompatibility between xpatch and hyperref package

I have lately been creating custom classes, and found that one of my desired commands, \xpatchcmd, did not work on some occassions. I spotted that loading of package hyperref is the culprit. For ...
user avatar
  • 319
0 votes
0 answers
19 views

A warning when using fntext

I have: \author{My Name\fnref{myfootnote}} \address{My institution} \fntext[myfootnote]{Email address: myemail@gmail.com} After that, I have an abstract, a list of keywords and then: \end{frontmatter}...
user avatar
0 votes
0 answers
21 views

How to add Skype link in LaTex on Overleaf?

I am trying to add my Skype link \textit{Skype:} \href{skype:accountName?add}{accountName} However, the text in the rendered latex document does not become clickable. how can i fix this and add my ...
user avatar
0 votes
1 answer
32 views

Cross reference not working properly

\documentclass[notitlepage, 12pt]{amsart} \usepackage{amsthm, amsmath, amsaddr, amssymb, graphicx, dsfont,} \usepackage[dvipsnames]{xcolor} \usepackage[ colorlinks=true, linkcolor=Blue, citecolor=...
user avatar
  • 241
1 vote
1 answer
54 views

How can I insert a hyphen in LaTeX?

I have tried everything but I just can't get a proper hyphen inserted into a LaTeX portion. Here's what I am trying to do: \textit{ABC:} \href{someLink}{A-B-C} I just want the two hyphens between A, ...
user avatar
0 votes
1 answer
19 views

Create hyperref form fields with macro

I would like to create a macro that will help me configure hyperref form fields. Can someone tell me why my minimal example does not work? \documentclass{article} \usepackage[margin=1.25cm]{geometry} \...
user avatar
  • 91
0 votes
0 answers
31 views

"If ...then" using \ChoiceMenu

I made this form with hypertext. The form automatically calculates the total number of ECTS entered in the various rows. However, I would like to add a feature: is it possible to insert an automatic &...
user avatar
  • 323
1 vote
1 answer
84 views

nameref, ref, and other issues with referencing back

I amm having issues with \nameref and \ref not returning the desired output. I would like to have definitions referred to by Definition 0.0.1 (see below). I do not want the result of \nameref{defn1} ...
user avatar
0 votes
1 answer
36 views

Automatically assign a value to name attribute in hyperref

Look at the text box I create with hyperref. I have documents with over 600 text fields, some of which are constantly changing. Is there any way in hperref to automatically assign the names of the ...
user avatar
  • 91
4 votes
1 answer
153 views

Does June 2022 LaTeX require use of padmanagement-testphase and hyperref key pdfproducer?

Are either of the commented-out lines below still needed with the June 2022 release of LaTeX? Specifically: Is the \RequirePackage{pdfmanagement-testphase} automatically invoked by \DocumentMetadata{...
user avatar
  • 6,661
0 votes
0 answers
21 views

Autoref and TOC links lost due to Ghostscript compression (-dPrinted = false already set)

I built a latex document and compress it afterwards with Ghostscript (gs). While some links are retained, e.g. urls, the links in the TOC and links created with autoref are not retained. Adding the ...
user avatar
1 vote
1 answer
43 views

Avoid generating a new PDF ID with each compilation [duplicate]

I want to create reproducible PDFs with lualatex, so if no code to the change took place, two compilation runs should yield the same identical PDF. I was able to set the CreationDate and ModDate using ...
user avatar
0 votes
0 answers
14 views

dots and textform with texorpdfstring

Why there exists two weird dots here? Also how can I converter $X_{MA}=0$ to textform for the bookmark? \documentclass[journal]{IEEEtran} \usepackage[caption=false,font=normalsize,labelfont=sf,...
user avatar
  • 205
0 votes
0 answers
24 views

How can I add reference with both number and text in LaTeX?

How can I add reference with both number and text in LaTeX? The accepted answer here uses hyperref but unfortunately it doesn't automatically add the section number.
user avatar
  • 443
1 vote
0 answers
40 views

Underscore in label name when switching to using hyperref

Compiling the following document first without hyperref, then with hyperref (consecutively), produces the error Runaway argument? {\@firstoffive }\fi ./test.tex:7: Paragraph ended before \Hy@setref@...
user avatar
1 vote
1 answer
37 views

Fillable Form with Calculated Total of Non-Blank Lines in Table

folks. I'm trying to create a form that sums up how many names there are in a user-filled table. Essentially, find all the non-blank cells (with a certain variable name), and add 1 to the sum each ...
user avatar
1 vote
1 answer
28 views

How can beamer subsubsections have level 4 in PDF bookmarks?

When using beamer, I found that my subsubsections are not shown in the PDF bookmarks. I can use \setcounter{tocdepth}{4} or \hypersetup{bookmarksdepth=4} to fix it. And I wonder why. In this answer, ...
user avatar
4 votes
4 answers
234 views

pdflatex: conflict between pdfcomment and soul

Here's the MWE: \documentclass{article} \usepackage{soul} \usepackage{pdfcomment} \begin{document} \section*{\hl{Fine}} \section{\hl{Error}} \end{document} which gives the following error ...
user avatar
  • 41
1 vote
1 answer
32 views

Subsection hyperref, titletoc and babel spanish conflict

Trying to use a template from overleaf, which worked perfectly in English. But adding babel for Spanish is messing up the document. I'm getting an error if I try to add a \subsection{}. I've looked at ...
user avatar
  • 251
0 votes
1 answer
17 views

\textvdots with hyperref

Uncommenting any of the two commented lines in \documentclass{article} \usepackage{hyperref} \begin{document} %\textvdots%%% fails with "Command \textvdots unavailable in encoding T1." %\...
user avatar
  • 1,119
0 votes
0 answers
10 views

bib2gls symbols variation point to a unique symbol in symbolslist

I am using a bib2gls generated symbols list for my documents containing equations for 2 reasons : the symbols are referenced so anyone can check what a symbol means I can change the appearance of my ...
user avatar
0 votes
0 answers
42 views

mathtools and hyperref badly interacting?

I would like to: (a) have no equation numbers for non-referenced equations; (b) have hyperlinks on equations and other constructs (lemmas/theorems/etc.); (c) use autoref so that the string for the ...
user avatar
  • 9,030
0 votes
3 answers
40 views

table's cell link to toc

I need to link a particular cell of a table to the toc. For example, \addcontentsline{toc}{subsection}{Pablo} or \addcontentsline{toc}{subsection}{prudencia}. My code: \documentclass{...
user avatar
3 votes
0 answers
61 views

Launch a software by clicking on a word link in the pdf

For fun, is it possible to launch a program by clicking on a link in a pdf? In this particular case, for a Physics lesson, I'll use a scenario of Poly Bridge game. It's installed and runs. But how do ...
user avatar
  • 1,021
0 votes
0 answers
19 views

How to keep long captions in the list of figures section in thesis?

I have long captions in my figures. And I am using this packages: \documentclass[12pt,twoside]{report} \usepackage[ top = 2.75cm, bottom = 2.50cm, left = 3.00cm, right = 2.50cm]{geometry} \...
user avatar
0 votes
0 answers
21 views

Adding Empty Column to already existing Table of Contents

I am making lab file and wish to add a remarks column in the ToC as per the instructions given. I have just added \tableofcontents from \section and using hyperref package, and the Remarks column ...
user avatar
1 vote
1 answer
66 views

bullets on the navigation bar in beamer miniframes theme have shifted clickable positions when using XeLaTeX

(May not be minimal) working example: % use XeLaTeX to compile \documentclass{beamer} \usetheme{Berlin} \title{Test} \author{Testname} \institute{Testing University} %%--------------------------- \...
user avatar
1 vote
1 answer
32 views

How to get \hypereff[]{} working with htlatex?

In this minimal example: \documentclass[11pt]{book} \usepackage[utf8]{inputenc} \usepackage[]{hyperref} \begin{document} Hahaha \hyperref[other]{2} \end{document} Compiling with pdflatex, it ends ...
user avatar
0 votes
2 answers
89 views

"Relativize" reference from input file?

I'm trying to figure out a way to have an input .tex file that contains a reference, but for the target of this reference to be partially based on where the .tex file is included. What I'm going for ...
user avatar
0 votes
0 answers
34 views

How can I create links to specific chapters in the text?

Im using LaTeX without any addons or special styles (regular article class). I would like to create links to specific sections in the text. When I write "... as described in section 1.1.2" I ...
user avatar
0 votes
1 answer
20 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,435
1 vote
1 answer
24 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
14 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
39 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
28 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
61 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
22 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
45 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,060
2 votes
1 answer
174 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
  • 167
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
  • 381

1
2 3 4 5
91