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

464 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
1k views

Table of contents in a separate file with correct hyperlinks to many files

It's my first question here. Sorry if it doesn't follow the rules. I have: I'm writing a manual in the book class with pdflatex (TeX Live under Linux). Each chapter is stored in a separate tex-file (...
7
votes
0answers
543 views

Cannot select radio elements, even output is not similiar

Referring to this post my output first doesn't look similiar and I also can't click on the elements. I've used the exact same code there. Has anyone an idea why this happens? His first example: \...
6
votes
0answers
717 views

{revtex4-1}, {hyperref}, \autoref and \appendix causing “Appendix” to appear as “Section.”

When using \documentclass{article} and \usepackage{hyperref} as in the MWE below, the \autoref command correctly formats the reference as Appendix A. \documentclass{article} \usepackage{hyperref} \...
6
votes
0answers
468 views

How to enable smart references when using xr-hyper package for producing multi-volume book?

I'm using xr-hyper package by @David Carlisle and smartref package by Giuseppe Bilotta to compile a multi-volume book. xr-hyper enables cross-references between different volumes as shows the ...
6
votes
0answers
746 views

How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?

This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document) I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
5
votes
0answers
1k views

Pandoc breaks hyperlinks in LaTeX file conversion

I want to convert a (quite complex) LaTeX file to epub using pandoc with: pandoc -S file.tex -o file.epub I have not used markdown in the creation of the tex file, however. When I, now, check the ...
5
votes
0answers
2k views

How to produce bibliography hyperlinking journal title with url?

BibTeX exported from scientific journals usually have all the informations you need to cite them; one of them is the url. For saving space i would prefer to hyperlink the name of the journal rather ...
4
votes
0answers
225 views

Why does `\usepackage{cleveref}` fix the conflict between (new) hyperref, amsthm, and lastpage when using tikz externalize?

This is not a duplicate of this question. Why does adding \usepackage{cleveref} solve the conflict between lastpage, hyperref, and amsthm during externalization? The known answer proposes \...
4
votes
0answers
57 views

Text is shifted when using `hyperref` package or when creating a new environment

I am having a problem with some shifted text. Please consider this MWE: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{...
4
votes
0answers
47 views

Package hyperref spoils vertical spacing between displayed math and consecutive environment

When the hyperref package is used, the vertical space is spoiled in the following example: \documentclass{article} %\usepackage{hyperref} \newtheorem{rk}{Remark} \begin{document} Consider this: \[ a=...
4
votes
0answers
212 views

Checkboxes and TextFields within Datatool csv tables

I've got a sample csv table with three columns - Pet, Names and Number. It's a list of Cats and Dogs, their respective names and the occurrence of each name. i.e. The order of Cats or Dogs in the ...
4
votes
0answers
366 views

Copying equation-environment produces “destination with the same id”

I used to typeset short exact sequences as equations. Now I want to reference to a short exact sequence by "seq." and not "eq." Therefore, I defined a new environment "ses" with an alias counter "sesC"...
4
votes
0answers
313 views

How to hyperlink the thanks footnote using hyperref and authblk

I would like to have the asterisk that directs to the thanks footnote hyperlinked using hyperref and authblk. In other words, I would like the asterisk, as any enumerated footnote in the text, to be ...
4
votes
0answers
350 views

IEEEtranbib, bibentry, hyperref - Simple example?

I am trying to make IEEEtranbib work with bibentry and hyperref, but I am stuck. MWE \documentclass[conference]{IEEEtran/IEEEtran} \usepackage{bibentry} \makeatletter\let\saved@bibitem\@bibitem\...
4
votes
0answers
723 views

How to vertically align the baseline of a hyperref form Text Field with surrounding text?

I try to vertically align hyperref's TextField such that the filled text is level with the surrounding text, for any text size. The accepted solution to How to align text in Textfield form to the ...
4
votes
1answer
1k views

Footnote link stubbornly jumps to the title page

I have a little nasty problem: a footnote hyperlink doesn't lead me to current page footnote, but it jumps to the document title page. I have already considered & tested several possible ...
4
votes
0answers
795 views

Error when combining biblatex, hyperref and latexdiff

I've stumbled upon a weird incompatibility between the hyperref and biblatex packages and latexdiff. If there is an added citation with more authors than the biblatex maxcitenames parameter, then I ...
4
votes
0answers
246 views

footnote with a link split into next page makes all of the text clickable

I have this weird issue where my footnote containing a link is split into the next page because the link URL is too long. This would be fine. What is weird is that the text on the next page where the ...
4
votes
0answers
651 views

What hyperref options should be used for correct Unicode output?

I am trying to work out which hyperref options allow all Unicode characters to display properly, and whether XeLaTeX, LuaLaTeX, and pdfLaTeX have different configuration requirements. The hyperref ...
4
votes
0answers
353 views

Use \url with pipe argument delimiter - in hyperref?

Basically, I have a bibtex field like this, where bibtex concatenation with # is used with a bibtex string variable: @String {mylink = "http://tex.stackexchange.com"} ... note = "At link " # mylink, ...
4
votes
0answers
579 views

Any workaround to allow using hyperref package with the combine package?

I need to use the combine package so that each included LaTeX document shows up with its its own toc in the main document, with its own heading. (similar to how papers appear in journal books, each as ...
3
votes
0answers
38 views

hyperref “steals” a line from the previous chapter with memoirs article option

I'm starting to write a short report, so I would like chapters not taking up a page. Thus I'm using memoir's article class option. I noticed that having hyperref enabled "steals" a line from ...
3
votes
0answers
38 views

Badly formed hyperref link boxes when using certain fonts with fontspec in XeLaTeX

Question: How to use fontspec fonts so that hyperref boxes are well formed and not too high? Solved: I don't know why but adding Extension=.ttf inside setmainfont options solves this. What I expected: ...
3
votes
0answers
34 views

Adding appearance for hyperref Checkbox

I'm using hyperref to make interactive forms in my PDF's, but I have the problem described in this SO post: when viewed in a browser, the checked checkboxes appear unchecked, though they are checked ...
3
votes
0answers
29 views

Why do clickable boxes in hyperref urls in footnotes which are split across multiple pages include the intermediate pages?

Consider the following code: \documentclass{article} \usepackage{lipsum} \usepackage{hyperref} \newcommand{\veryn}[1]{\ifnum\numexpr#1 > 0 very/\veryn{#1-1}% \fi } \edef\foo{\noexpand\url{this/...
3
votes
0answers
34 views

pdfusetitle uses the short title while it could have used the long one

Consider the following document \documentclass{amsart} \usepackage{lipsum} \usepackage[pdfusetitle]{hyperref} \begin{document} \title[Short]{Long Title} \maketitle \lipsum[1-13] ...
3
votes
0answers
346 views

Is there a problem with hyperref?

A document that had been working recently will not work today and i narrowed the problem down to this MWE: \documentclass{article} \usepackage{hyperref} \begin{document} d \end{document} If I cut ...
3
votes
1answer
115 views

hyperref and repeating things counted by `\refstepcounter`

I try to write document, using hyperref package, which has elements of sectioning repeated several times with the same number. These things are counted by \refstepcounter. In the example document I ...
3
votes
0answers
291 views

Hyperref of expex examples

I would like to have a hyperlink to my examples created with expex The use of \label and \ref produces the correct number, but the it links to the whole subsection and not to the example. \...
3
votes
0answers
55 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 ...
3
votes
0answers
78 views

References to a label

I would like to create a label and display in the pdf-output, where the label is used: \documentclass{report} \usepackage{nameref, hyperref} \begin{document} \chapter{The first chapter} \label{ch:...
3
votes
0answers
98 views

Unable to generate PDF using hyperref along with babel[arabic]

I am unable to generate PDF when using hyperref & bookmark package alongwith \usepackage[arabic,english]{babel}. If I remove the packages hyperref & bookmark, then PDF generated successfully. ...
3
votes
0answers
614 views

Line breaking with adjustment but no hyphenation

I have the following situation: very long function names that are put into text with a macro \fun{this-is-a-very-long-fuction-name}. This macro includes indexing, but then finally puts the function ...
3
votes
0answers
377 views

Old moderncv template with hyperlinks in table of contents

For my application portfolio, I started from the template bewerbungsmappe.zip provided on TU Graz miscellaneous templates. Only now I realized that this is based on an old version of the moderncv.cls ....
3
votes
0answers
744 views

Is it possible to add a tooltip to a PDF link?

If I send an HTML file to someone by email, they can always be a little prudent and hover over a link before clicking. A tooltip shows them the destination URL, and this gives them a chance to know ...
3
votes
0answers
1k views

How to make hyperlinks in bibliography without showing URL

This is my MWE: \documentclass{article} \usepackage{lipsum} \usepackage{natbib} \usepackage{bibentry} \usepackage{color} \usepackage{hyperref} % For hyperlinks in the PDF \hypersetup{colorlinks=...
3
votes
0answers
281 views

How to link Questions to Answers - Hyperlink and hypertarget - Multiple chapters

For a Question bank, which is a pdf-only CC edition, I defined hyperlinks and hypertargets as explained in Adding another answer hyperlinked to the question itself. To typeset more chapters as ...
3
votes
0answers
128 views

Centering list issue with Enumerate+Hyperref+Varwidth

I want to center an enumerated list so i've tried to use the answer of this question given by the Great David Carlisle. But using hyperref, varwidth and enumerate (in any order in the preamble) cause ...
3
votes
1answer
111 views

Hyperref/link only first the first acronym of an entry on a site

I'm using the package acronym for acronyms . In combination with the hyperref package, all acronyms are linked to the acronym list. Now I'm using some acronyms more then one time on one page. Is it ...
3
votes
0answers
335 views

\DeclareUrlCommand with optional second argument

Creating a hyperlinked DOI is possible: \documentclass{article} \usepackage{hyperref} \DeclareUrlCommand\adoi{\def\UrlLeft##1\UrlRight{\href{http://dx.doi.org/##1}{DOI:##1}}}% \begin{document} \adoi{...
3
votes
1answer
220 views

Biblatex, hyperlink postnote

I want postnotes for inline citations to be hyperlinked, i.e. I want the authorname, year, and any postnotes hyperlinked (but not prenotes!). I've used the answer here to get authorname hyperlinked, ...
3
votes
0answers
297 views

why hyperref link text border(box) doesn't have uniform size under Xelatex

I found that the same code under different tex engines gives different hyperref link border(box) size, see the minimal sample code below: \documentclass[UTF8]{ctexart} \usepackage{hyperref} \begin{...
3
votes
0answers
697 views

Using titlepage, multiple authors and hyperref with pdfusetitle not possible?

Following code: \documentclass[titlepage]{article} \usepackage[pdfusetitle]{hyperref} \title{Test} \author{Hans \and Karl} \begin{document} \maketitle \end{document} Will raise this error: ! Use ...
3
votes
0answers
107 views

Why might I not want to set naturalnames and hypertexnames both equal to false in hyperref?

I know from these questions that you can solve a lot of internal linking problems in your PDF by setting naturalnames and hypertexnames both equal to false (naturalnames being set to false by default)....
3
votes
0answers
1k views

Latex forms, MakeTextField, LayoutTextField and javascript questions

I trying to do underlined TextField with label under the field (hyperref package). using Underlined text field in a fillable form i tried to renew MakeTextField: \renewcommand{\MakeTextField}[2]{{\...
3
votes
0answers
114 views

Anchor to left margin of the page instead of beginning of line

This may be a very minor thing, but when I click on an internal link within the document (produced by hyperref), the link takes me to the beginning of the line of text, moving the page horizontally (...
3
votes
1answer
172 views

Beamer: Hyperlink to specific slide in frame with specific after\pause on the slide?

I jump to different frames using hyperlinks and beamer buttons as: \hyperlink{label}{\beamerbutton{text}} However, is there is a way to jump to a specific slide (label) after a certain \pause in it. ...
2
votes
1answer
80 views

Flatten PDF form

I'm not able to implement the soluton provided here in Including Javascript to flatten PDF form made in latex. A MWE will be helpful. Thank you. Edit Added MWE. Frankly I'm not sure if I've put the \...
2
votes
0answers
25 views

Warning when using package acronym: Hyper reference `acro:TPI' on page iv undefined

Using the package acronym to create a list of abbreviations at the beginning of my master's thesis I get a warning for each acronym: Hyper reference acro:.. on page .. undefined. This is quite ...
2
votes
0answers
26 views

Enumitem: why `hyperref` influence on style of new list style based on enumerate?

Why hyperref influence on defining a style for new list which is based on enumerate? In a case, when you need lists in tables is handy to define new list, something like is done in the following MWE: \...

1
2 3 4 5
10