{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

10
votes
1answer
135 views

Set different hyperref color inside frame of tcolorbox

I currently have the following MWE: \documentclass{article} \usepackage[usenames,dvipsnames]{xcolor} \usepackage[colorlinks=true]{hyperref} \hypersetup{allcolors=blue} \usepackage[most]{tcolorbox} ...
5
votes
1answer
74 views

\shortintertext gives wrong equation numbering when used with hyperref package

The following code works fine \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amstext} \usepackage{mathtools} \usepackage{babel} ...
5
votes
3answers
206 views

How to reference chapter names that include counter output?

I want to use a counter in some chapter names, this works fine for the TOC and in the chapter names themselves, but references to the chapter name appear to use the counter at the time of the ...
2
votes
0answers
47 views

\href crossing a page boundary messes up link in second column

I'm using \href (from the hyperref package) to put some links into a document which is being typeset in two languages using the paracol package and XeTeX. To compile it, I'm using texify -p ...
2
votes
1answer
49 views

Open another pdf file at referenced label/page

I am having two documents, call them A and B. I want to make several cross-references from file A to file B and by clicking on the hyperlink, I want to open file B at the respective page. In my ...
3
votes
1answer
86 views

Opening a PDF at a specific page

Is it possible unsing the package hyperref to open a PDF that was not created using pdflatex on a specific page? I tried this solution: \href{run./FILE.pdf#page.12}{FILE on page 12}, but that opens ...
1
vote
0answers
36 views

What could be causing hyperref and hanging to undo multicols?

I've created a method to input Norwegian-English translations into a sort of glossary. I need multiple of these little glossaries, later they will be compiled into a big glossary. It doesn't need to ...
1
vote
1answer
57 views

How to get with TexLive Windows/Linux same extensive verbose level as with Rubber?

If I compile the following MWE with Rubber under Linux (rubber --pdf VerboseDemo.tex) I get a nice verbose level including the HyperRef debug. However if I compile with plain pdflatex under windows ...
0
votes
0answers
16 views

Temporarily prevent hyperref from decorating links [duplicate]

I have a picture, drawn with tikz, that contains a few slanted hyperrefs (in fact, document-internal references). For these, the colored underline that I have told hyperref to draw are not slanted, so ...
2
votes
1answer
60 views

Link to reference ShareLaTeX

I use this to cite References: \cite{art1} And to declare: \renewcommand{\bibname}{References} \addcontentsline{toc}{chapter}{References} \bibliographystyle{unsrt} \bibliography{refs} ...
4
votes
1answer
60 views

hyperref and underscores

hyperref seems not to work with \_ in the first argument of either hypertarget or hyperlink: \hypertarget{foo\_}{foo\_} \hyperlink{foo\_}{foo\_} When clicking on the hyperlink it always jumps to ...
1
vote
0answers
30 views

Table of Contents Hyperlinked to Diary Entry [closed]

I'm using a nice diary template provided by @ferahfeza. It's great, but I'd love a hyperlink from an auto-generated table of contents to the date in the diary entry. I expect that I'll have a very ...
1
vote
1answer
60 views

How to make a word clickable to send you to a certain reference in the bibliography?

I am trying to make a word hyperlinked and clickable that if one click on it, can see a certain reference at bibliography. I guessed \hyperlink works but does not. This is a sample: ...
1
vote
1answer
124 views

How to change Pandoc's / hyperref's reference format?

\frontmatter As described in a related question, pandoc turns Markdown links such as [TeX.SE](https://tex.stackexchange.com/) into \href{https://tex.stackexchange.com/}{TeX.SE} However, in ...
4
votes
1answer
65 views

hyperref - pdftex warning (ext4) destination with same identifier

I am currently working on a document with fixed format, which also includes multiple sections and subsections with the same numbering appearing in it. \documentclass[12pt,a4paper]{memoir} ...
0
votes
1answer
58 views

How to customize link style in Table of contents using titletoc?

I want to customize the links (appearance) in the TOC. In the entire document I use 'hidelinks' in hyperref (to turn of the box), and then have some fancy own link visualization (here for MWE replaced ...
2
votes
1answer
82 views

`\Hy@raisedlink` block hyphenation and perturbate line breaking

the \Hy@raisedlink (used because of what explaned in this answer: http://tex.stackexchange.com/a/17138/7712) seems make trouble with hyphenations. Cf this MWE \documentclass[a4paper]{book} ...
2
votes
0answers
42 views

Is a document compiled with pdfLaTeX which includes a Form environment (hyperref) likely to compatible with the standard Linux pdf viewer?

I'll offer the disclaimer that, in my question, I may have been stretching the truth when I said `a' Form environment. The Form environment is implemented in a .cls file to which there are multiple ...
1
vote
0answers
21 views

Refer to section containing a labeled subsection

Main question: Is there a way to produce the title of a section containing a labeled subsection? I.e. Consider a document containing the sections \section{A}\subsection{1}\label{1}. Using the hyperref ...
1
vote
0answers
11 views

Error: \pdfendlink ended up in different nesting level than \pdfstartlink [duplicate]

I'm using overleaf to write my mnras report and I get this error when I am writing a caption for a figure. ./main.bbl:1: pdfTeX error (ext4): \pdfendlink ended up in different nesting le vel than ...
3
votes
3answers
58 views

Single occurrences of special refererence style (using the automatic numbering) to a list item (without changing the style of the other occurrences)?

I have a list: \begin{enumerate}[label={[\Roman*]},ref={[\Roman*]}] \item\label{item1} The first item. \end{enumerate} What I want to achieve is this: In the most instances, I want to refer to ...
3
votes
1answer
64 views

Combined glossary and list of acronyms: Same backlinks for full entry and acronym, or none at all at the latter?

I want to combine a glossary and a list of acronyms. I am using the newdualentry command from the wikibook (included in MWE below) and quite like the result, except for the hyperref links back to the ...
3
votes
1answer
69 views

\hyperref fails when cross-referencing between different files

I am working on a multi-volume project where different volumes contain hyperlinks to other volumes. I use a technique described on this web-site in a number of posts, see e.g., Cross-referencing ...
5
votes
1answer
162 views

Link to arbitrary part of text?

I have a long text and I want to create a link within the document to a particular paragraph (for example write something like "as shown here" where clicking on "here" will take the reader to that ...
0
votes
0answers
50 views

Package hyperref Error: Wrong DVI mode driver option `pdfmark', (hyperref) because pdfTeX or LuaTeX

what is the error " Package hyperref Error: Wrong DVI mode driver option `pdfmark',(hyperref) because pdfTeX or LuaTeX is running in PDF mode."meaning...
0
votes
1answer
87 views

Jump to previous slide beamer

In beamer I want to have a button in a slide that when pressed makes the presentation jump to the previous displayed slide (so labeling the slide does not work). Is there a way to do this? Thank ...
2
votes
1answer
77 views

The local links don't work

I have my Tesis in latex, I am beginner, and the doc have a lot of local file link. The questions is some of them work and others not. The file are .pdf, I test permission, and it is ok. I am looking ...
0
votes
0answers
53 views

hyperref versus \pagecolor conflict

I'm writing an important report which I've produced in LaTeX annually for several years. This year I decided to make the cover page different - white on blue instead of plain old black on white. I've ...
3
votes
0answers
37 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} ...
4
votes
2answers
88 views

Cyrillic in URLs using hyperref produces file link instead of URL link

I have an URL containing Cyrillic characters, e.g.: \href{https://bg.wikipedia.org/wiki/Начална_страница}{Bulgarian Wikipedia Main Page} When I compile the document, the link points to a local ...
3
votes
1answer
127 views

Option clash for package hyperref

I am trying to use hyperref in my tex file.. here is a minimal working example.. which gives me the option clash error \documentclass[12pt]{report} \usepackage{hyperref} \hypersetup{ ...
1
vote
1answer
67 views

Hypertarget pointing at \thefigure

Hopefully the last question I would ask about the extended figure caption macro. In the last version Here, hyperref do not affect \addefcline or \efcline, leaving me the task of having to define an ...
2
votes
2answers
44 views

Same hyperref options for both digital copy and hard copy?

I'm looking for a "good" set of options for hyperpdf that will result in a neatly looking PDF, suitable for both print and digital viewing. If I simply use \usepackage{hyperref}, I get a red box ...
1
vote
1answer
339 views

Package breakurl Warning: You are using breakurl while processing via pdflatex

I am trying to use breakurl package to break long url, so it wraps around, since it is messing the alignment of my table. The problem is that I keep getting the message Package breakurl Warning: You ...
3
votes
0answers
65 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} ...
1
vote
1answer
48 views

Incorrect Linking with minitoc and hyperref

MWE: \documentclass{article} %font \usepackage{mathpazo} \usepackage[english]{babel} %change TOC header \addto\captionsenglish{% Replace "english" with the language you use ...
2
votes
2answers
63 views

Is there a possibility to colorize the pdf bookmarks in the sidebar of acrobat reader

I want to colorize my bookmarks in this way. Is there any chance to do this with the hyperref package? Thanks.
0
votes
0answers
31 views

How to make section entry in memoir ToC uppercased?

I know only how to use TeX and not how it works so, regarding This Question: Does the code for making section name text uppercase in ToC with hyperref, works only with the article class or may I use ...
1
vote
1answer
144 views

Change cite color to blue in the Legrand Orange Book template

In the code below, that was derived from the Legrand Orange Book template, I wanted to be able to change the cite color. However, when I activated the colorlinks=true, the table of contents (TOC) got ...
0
votes
0answers
35 views

Possibility of Moving Hyperlinked Files Without Breaking the Link

I have created a tex file using Kile and have used xelatex package to convert that file to pdf. Now there are nearly 50 audio files (in mp3 and wav format) hyperlinked with the document in several ...
6
votes
1answer
59 views

\let vs hyperrref

In the following sample from my custom syllabus class, I am getting a new error since updating my TeXLive 2015 distribution to the most recent release today. The error is TeX capacity exceeded. As ...
0
votes
0answers
42 views

No hyperlink in author name with citation by citet command [closed]

I used authoryear natbib package and citet command. In citation author name and year have hyperlink, but i need to just year has hyperlink not author name. How can i fix this?
3
votes
2answers
76 views

lastpage, hyperref and xifthen

I am trying to write a code for figuring if the current page is the last page. I do run into some problems, though. In my example here, the code will not run if hyperrefis loaded. Without it, it ...
0
votes
0answers
25 views

How to make hyper number and symbol in the author name of article?

Author names in my article must have numbers 1,2,... and corresponding author must has *. All numbers and symbols must be hyper.How should i make them hyper? My codes are : ...
3
votes
3answers
80 views

Getting the `\pageref` out from under `hyperref`

I thought I was pretty cool when I modified \ref to also print a page number when the referenced float was more than a few pages back. But I really want it to be a nice link using the hyperref package ...
2
votes
1answer
67 views

Strange page numbering with onesided book and hyperref package

The following code produces page numbers which show in SumatraPDF as 1, 1.1, 2. I expect the pages to be numbered 1, 2, 3. This numbering is caused by the combination of oneside option for the book ...
5
votes
2answers
171 views

DOI's hyperlink: include “doi:”?

The package doi renders \doi{10.1000/182} as doi:10.1000/182, where 10.1000/182 is a boxed or colored hyperlink. Can the hyperlink also include the doi: part? Omitting that is as peculiar as ...
3
votes
1answer
72 views

exsheets: Link Solutions back to Questions

Using exsheets, I'd like to link questions to their solutions and solutions back to their questions. This issue is also discussed in the question How to automatically links questions and solutions ...
2
votes
1answer
34 views

Using thmtools to add an asterisk to a theorem number: how to not add the link when hyperref is used

This answer gives a nice way to add an asterisk (or any other symbol really) to an equation number. The method works very well. Unfortunately, if the hyperref package is used, the new number with the ...
3
votes
1answer
29 views

Problem with making a “new float” and using \autoref{} command

I'm trying to do a new float called "grafico" with the float package. It works fine, but when I try to do a reference, i.e. \autoref{}, it only shows the float number (e.g. If it's "Gráfico 2.1: blah ...