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

learn more… | top users | synonyms

2
votes
1answer
24 views

How to specify bookmark and TOC title separately

I customize a dash symbol \newcommand{\shortdash}{\rule[.7ex]{0.5em}{0.5pt}} to minimize the space around when typesetting in non-english situation. When I used it in \section, it works in text and ...
1
vote
1answer
11 views

hyperref with breaklinks option + hypdvips give unexpected output

Consider the following example: \documentclass[a4paper,12pt]{article} \usepackage[hmargin=2.4cm]{geometry} % to get margins which create a line break within the link ...
3
votes
1answer
40 views

links to theorem-environments take me to first page

I'm currently creating a big document in multiple TeX-files and used dozens of links to parts I put into theorem-environments. However, only some of the links do not work, they take me to the first ...
0
votes
0answers
38 views

links to theorem-environments take me to first page [on hold]

I'm currently creating a big document in multiple TeX-files and used dozens of links to parts I put into theorem-environments. However, only some of the links do not work, they take me to the first ...
1
vote
1answer
14 views

Put \ref{} within \aaalphanum

I'm trying to ref a label using \ref and output an alphabetical letter (e.g. 'A') rather than the number (e.g. 1). I have read somewhere to use \AAAlphanum{\ref{my_label}} but this command fails ...
4
votes
2answers
34 views

Issues with using \nameref (hyperref) and \mdtheorem (mdframed) together

When using the \mdtheorem command (from mdframed) with \nameref (from hyperref), it seems that labels applied to an theorem made using \mdtheorem will not appropriately take the title given to the ...
4
votes
0answers
100 views
+100

Beautiful table of contents with hyperref

I really don't like the red box which indicates a link. I would like to have some filled rectangle rendered which shows up when someone hovers. Obviously before the text gets rendered as you cannot ...
2
votes
1answer
15 views

Setting hyperref reference with xstring

I am trying to generate hyperref links programmatically, using xstring. For example, in the code below I would like \hyperref[reference\FirstNumber{1,2}]{first line} to be equivalent to ...
1
vote
1answer
22 views

Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
5
votes
1answer
36 views

How to apply Memoir manual's fix to allow \MakeTextUppercase in toc with hyperref

There is a known conflict between the memoir class and the hyperref package. hyperref cannot process Table of Contents headings that include the \MakeTextUppercase macro. The memoir manual (texdoc ...
8
votes
3answers
109 views

Ensure phantomsection doesn't occur at the bottom of a page

In my document I have boxes that cannot be broken across pages, and which therefore often leave blank space on the preceding pages. When I create a \phantomsection before one of these boxes, the ...
4
votes
2answers
39 views

Ask `\autoref` to display environment name without number

I'm using the memoir class and I define theorems with thmtools. Theorems often have a name, besides being numbered. I'm looking to write a \fullref command that outputs the name of the environment ...
0
votes
0answers
13 views

Autoref uses wrong name [duplicate]

Here is my MWE: \documentclass{amsart} \usepackage[all]{xy} \usepackage[colorlinks]{hyperref} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \theoremstyle{definition} ...
2
votes
2answers
46 views

Line thickness of links

Links coming from ref or gls are accompanied by boxes (I know about colorlinks and the possibility to switch them off). I somehow like the idea of the boxes but the lines are way to thick in my ...
3
votes
1answer
48 views

What is the correct load order for hyperref

I got an error with egreg's solution when loading hyperref and could produce the following MWE to demonstrate it: \documentclass{article} \AtBeginDocument{\bgroup} \AtEndDocument{\egroup} ...
2
votes
1answer
36 views

subcaption incompatible with backref option of hyperref

I have a problem with the subcaption package. It leads to backrefs to tables only being displayed as questionmarks. Minimal working example \RequirePackage{filecontents} ...
3
votes
1answer
31 views

pdf link does not work with latex/dvips/pstopdf execution

I have this simple LaTeX file: \documentclass{book} \usepackage{hyperref} \hypersetup{% linkcolor=blue, colorlinks=true,% hyperlinks will be black pdfborderstyle={/S/U/W 1}% border style with ...
3
votes
2answers
43 views

hyperref targets without \refstepcounter

I am trying to create a document-internal link using the hyperref package. At the position where the link should point to, I execute the following command (as part of the setup of a LaTeX ...
1
vote
1answer
14 views

pdf viewed with Adobe Acrobat displays box with URL link generated with hyperref preceded by local path to current file

I want (if at all possible) to suppress display of the path to the current open pdf file generated by pdflatex in a link generated with package hyperref. The problem occurs when the pdf is viewed with ...
0
votes
0answers
16 views

! Missing \endcsname inserted. Because of Turkish [duplicate]

When I try to build and view my .tex document. I get the error. I have viewed at the topics like the problem. How can I fix the problem ? Thank you for all appreciated answers. Error: ! Missing ...
4
votes
1answer
26 views

PDF Form Fields; charsize=auto?

I'm using hyperref to write a fillable form, but my users have a tendency to overfill the text boxes causing the text to be invisible on the printed sheet. Acrobat allows for a definition of the ...
1
vote
1answer
23 views

breakurl doesn't work with xelatex

I'm trying to use the breakurl package with xelatex but can't get even the following minimum working example to compile. \documentclass{article} % dvips added as per breakurl manual % also fails ...
0
votes
0answers
46 views

To have math in section's name with doi -package (hyperref) [duplicate]

This thread evolves from my discussion here. Minimal example \documentclass{article} \usepackage{mathtools} \usepackage{polyglossia} % also loads package fontspec \usepackage{unicode-math} % if you ...
3
votes
0answers
75 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 (MiKTeX under Linux). Each chapter is stored in a separate tex-file ...
3
votes
1answer
22 views

hyperref pointing to the wrong equation using subequations

I'm using the following code to write an article, but I'm having some problems cross-referencing the equations with hyperref. The \eqref{} code returns the right equation's number. But the hyperlinks ...
0
votes
0answers
23 views

Hyperlink is going to the wrong page [duplicate]

When I click in the Contents--Bibliography it goes to the page 134 - the correct one is page 135 as showed in the table, attached picture. How could I fix the link to the right page? Thank you all ...
5
votes
2answers
103 views

Long URL extends into margin - it breaks at underscore, but too late

In my dissertation I have a long URL containing many underscore characters as word separators (Wiki software did this). These URLs break at an underscore (good!), but too late, causing the line of ...
5
votes
2answers
39 views

How do i put verbatim text as the body of a link?

Is there a way i can have verbatim text inside a link? \href{www.numpy.org}{\verb|numpy|} does not work. I tried using cprotect; \cprotect\href{www.numpy.org}{\verb|numpy|}, but then I end up with ...
1
vote
0answers
13 views

How to make refcheck work with autoref? [duplicate]

I have just discovered refcheck and would love it to bits if my document wasn't full of \autoref's. According to refcheck's documentation, it works with hyperref in general, as long as the latter is ...
0
votes
0answers
33 views

How to add a link to a PDF file in Beamer? [duplicate]

I'd like to insert a link to a PDF file into a Beamer presentation. How can I do that? With which specific command?
1
vote
0answers
26 views

How can I make a hyperlink underlined only when the cursor is hovering over it?

I'm using the moderncv document class along with the hyperref package, and I have some hyperlinks in my document. I've made my hyperlinks a different color, to ensure that the reader knows they are ...
4
votes
1answer
57 views

Is it possible to redefine \url in such a way that it works without or with http

This question is related to the question How to avoid the "http:" part in hyperref's \url? and the solutions http://tex.stackexchange.com/a/139934/39306 and ...
1
vote
1answer
66 views

LaTeX extra } issue

I'm trying to compile a document that uses BibLaTeX with the Biber backend, but I keep getting these errors on the last line of my document: ! Argument of \hyper@anchorstart has an extra ...
2
votes
2answers
32 views

hyperrefs in textcolor

I have used hyperref (with xcolor) and \hypersetup{ linkcolor=black, filecolor=black, urlcolor=black, citecolor=black } for quite some time now. However, in a coloured text this looks ...
3
votes
0answers
59 views

Links in mindmap as table of contents in beamer

I decided to use a mindmap to show the ToC of my presentation and the section outline. I'd like to have the nodes clickable like the standard ToC, but I couldn't find any command like ...
2
votes
1answer
24 views

Create links from references in bibliography to usages in text

With the hyperref package I now automatically get links from citations in text to the full citation in the bibliography. Is there a way to automatically get the reverse as well? How can I generate ...
0
votes
0answers
10 views

Footnotes via hyperref points underneath the footnote, not on it

Using the hyperref package, I expected the links of my footnote numbers to point right to the corresponding footnote line. But this never actually happens. It always points right underneath it! Here ...
3
votes
1answer
29 views

Macro expansion and href with hyperlink

I have very simple question I hope! I am writing a book on MPASM (PIC) assembler and there will be very many similar links to programs, hex files, videos etc. These will be enclosed in a standard ...
4
votes
1answer
51 views

Why do I just get “?? ” when I try to get the reference of a equation with \autoref

I use \autoref to reference everything in my Thesis. I get without problem the references of the images and the Tables but when I try to get the references of a equation I get just ??. \noindent Die ...
0
votes
0answers
11 views

in classicthesis, change acronym hyperlink colour (to black) but leave crosslinks blue

I am trying to change the acronym link colours in classicthesis to black but leave other links their default colours. I have tried the solution listed here: Acronym hyperlink without special color ...
3
votes
1answer
18 views

hyperlink: link to page relative to a hypertarget

I am trying to get a link to a page that is relative to a hypertarget. For example, in the MWE I would like to get one page after the link chap2, so that my link goes to the page after. ...
3
votes
2answers
124 views

How to pass vertical line

I have the following problem. The general idea is to test whether #1 is empty and if it isn't then write vertical line "|" and #1: \documentclass{article} \usepackage{makeidx,hyperref} \makeindex ...
0
votes
1answer
31 views

URL style LaTeX change? [duplicate]

\documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{libertine} \begin{document} \lipsum[1-2] ...
4
votes
0answers
36 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 ...
1
vote
1answer
22 views

Cannot get hyperlinks in elsart.cls documents

When formatting a document with the class elsart.cls provided by Elsevier, hyperlinks to sections, equations, items... don't work. I know that elsart.cls is supposed to be obsoleted by elsarticle ...
3
votes
2answers
68 views

hyperref package including web image in pdf document [duplicate]

I am trying to include an image (institurtional logo) from direct web address, using \hyperref and pdftex. I am trying a command of the form (many other variants tried, with varios error messages ...
1
vote
1answer
27 views

Conflict with Hebrew text in hyperlinked table of contents

I am creating a biblical studies document which contains characters in Greek, Hebrew, Syriac, and Coptic. Normally I am able to render these characters just fine. The problem comes when I try to ...
1
vote
0answers
32 views

\hypersetup command from hyperref package not working with auto-pst-pdf

I need to use the auto-pst-pdf package in a large class file of my own. I've found out that, under pdfLaTeX, the following MWE compiles to a pdf that does not include the metadata provided by the ...
8
votes
1answer
146 views

How to generate a “named destination” in PDF?

According to the Evince help, one can open a PDF at the location of a "named destination": SYNTAX evince [--help] [--page-label=PAGE | --page-index=NUM‐ BER | --named-dest=DEST] ...
0
votes
0answers
19 views

Reference table rows by automatic counter with a unique first row

I want to use the method that are represented here, but I want a unique first row for describe the content in each column, like this : . How can i achieve this?