{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

1
vote
1answer
10 views

Cannot use acmsmall's narrowfig tegether with hyperref

I'm trying the use the narrowfig environment from the acmsmall class. The following works without problems: \documentclass{acmsmall} \begin{document} \begin{narrowfig}{.5\linewidth} Foo \caption{...
1
vote
1answer
17 views

Subfloat alignment problem with hyperref

Why does simply loading the hyperref package mess up the alignment and how can I solve this? Correct image and sample code: \documentclass{article} \usepackage{tabularx} \usepackage[margin=0pt,...
0
votes
0answers
19 views

how to add hyper link refrences in memoir thesis?

I am using memoirthesis tempelet for writing the thesis . I am not able to hyperlink the references(also back references). Plz. suggest..
1
vote
1answer
77 views

directed to middle of page instead of start

I'd like to include some pdfs in my file and make a table of contents with hyperlinks to the individual pages. I almost got it to work with \phantomsection and \addcontentsline however if i click the ...
8
votes
1answer
5k views

A button that runs an external program from a Beamer PDF presentation

I want to add a "run demo" button to a Beamer presentation (PDF file) that will launch an external Java application. Can this be done somehow - Embed an "exec" command inside a PDF using LaTeX/Beamer?...
0
votes
1answer
18 views

Set color to hyperlink except in the Table of Contents

When I set \hypersetup{linkcolor=blue} to make the references of figures/tables blue, the TOC was also changed to blue. How can I change the link color to blue except change the default color (black) ...
2
votes
1answer
37 views

Sans-serif cross reference

I'd like my cross reference to be formatted in sans-serif, but I've not been able to find the way. I'm currently using both cleveref and hyperref packages.
1
vote
0answers
13 views

Package hyperref Error: Wrong DVI mode driver option `dvips', (hyperref) because pdfTeX or LuaTeX is running in PDF mode

I wanted to compile the template for the Journal Statistics in Medicine (the template can be found here: SIMDOC.TEX). I am using TeXWorks on Ubuntu. I got the following error: ! Package hyperref Error:...
8
votes
1answer
15k views

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp}

hyperref: Wrong DVI mode driver option `dvips',(hyperref) because pdfTeX or LuaTeX is running in PDF mode. \ProcessKeyvalOptions{Hyp} How can i fix this error? I m trying to compile a template of ...
2
votes
0answers
33 views

Change hyperref style in table of contents

In this example: \documentclass{article} \usepackage[frenchlinks=true]{hyperref} \begin{document} { \hypersetup{frenchlinks=false} \tableofcontents } \section{Section1} \label{sec1} ...
2
votes
1answer
54 views

TOC, Chapter Toc, and Appendix misfunctions

The attached image shows the problems in an almost MWE: In TOC, the appendices are called Chapter instead of Appendix Much worse is that the sections in the Appendices find their way in the Chapter ...
2
votes
3answers
791 views

How to disable ALL hyperlinks or at least make it all BLACK

How do I disable hyperlinks? My references are showing as green but I don't like it. Code below: \documentclass[pdftex,12pt,a4paper]{report} \usepackage{titlesec} \titleformat{\chapter}{\bfseries\...
0
votes
0answers
16 views

How to force hyphenation on href text part

I have a text converted to latex by pandoc. Here the markdown construct [www.ex.com/long_url_with_underscores](http://www.ex.com/long_url_with_underscores) is converted to \href{http://www.ex.com/...
5
votes
1answer
176 views

Hyperlink with authoryear-comp in beamer

Consider the following MWE: \documentclass{beamer} \usepackage{xpatch} \usepackage{lmodern} \usepackage[style=authoryear-comp,backend=biber]{biblatex} \addbibresource{biblatex-examples.bib} \...
2
votes
2answers
28 views

Bookmarks of individual longtable rows?

I'm in possession of a lengthy table, individual sections of which are reachable from within the document via this workaround. However, I want to get them to show up as bookmarks and don't know how. ...
5
votes
2answers
327 views

Removing hyperlink borders from ToC

I don't want to disable hyper reference package as I like those borders in the text. I just want to remove borders around chapters/sections in the table of contents if possible. Any idea? E.g. \...
1
vote
0answers
9 views

beamerarticle: Exclude (sub)sections w/o any frames from PDF bookmarks

Problem statement Beamer's 'article mode' is a wonderful vehicle for generating different documents - such as slides for presentation and handouts using LaTeX's standard 'article' class - from the ...
2
votes
1answer
27 views

hyperref and theorems counted by subsection- “pdftex warning (ext4) destination with same identifier”

I have got some problems with hyperref and theorems labeled by subsections: To get the theorems labeled correctly I manually reset the thm counter also at the beginning of new sections. But then I ...
2
votes
1answer
35 views

extra vertical space before equation when using hyperref and fleqn

When using both hyperref and fleqn, I am getting some extra vertical space above numbered equations. This issue is I believe a known bug in hyperref and has already been discussed at fleqn ...
30
votes
6answers
14k views

No section numbers, but still have PDF bookmarks with hyperref

I have a document that has many sections. I don't want section numbers to show up in the document, but I do want the sections to show up automagically as bookmarks in the PDF using the hyperref ...
2
votes
1answer
35 views

Makeindex and Hyperref in Spanish

Following this answer I was given, about how to add small caps roman numbers in the index with babel in Spanish, I have a new problem. With the hyperref package, the links don't go to the right page ...
2
votes
1answer
33 views

MakeIndex fails to locate some index items

I use makeidx package to create an index, but some index items fail to be located in the right pages. For example, an index in 1st page of body text will be located to the cover after clicking the ...
1
vote
2answers
56 views

How to define a href-like command?

I'm trying to make an \href-like command that will color its text. The one I made breaks when the URL has #. I tried the solution in here, but it still doesn't work. \documentclass{article} \...
1
vote
1answer
73 views

Indexing with hyperref and roman page numbers

A document I'm writing needs an index. This is fine... except that the 'front matter' has roman page numbers, which appears to be messing things up. On compilation, I get the warning 'pdfTeX warning (...
0
votes
1answer
37 views

hyperref does not create links for expex

I used hyperref together with expex before and all was fine. Not sure when and what broke, but I don't get hyperlinks anymore, nor any idea where to look for the source of this grief. I'm compiling ...
0
votes
1answer
109 views

Conflict of backrefalt for bibliographies at end of each chapter (using natbib and chapterbib)

I want to have the bibliographies at end of each chapter and still have the cross-reference on the reference list stating "Cited on pages:" using natbib and chapterbib packages. To compile the ...
1
vote
1answer
29 views

pdfcomment highlight doesn't work

I am using MikTex 2.9. I would like my text to be highlighted and I would like a comment to it. But my MWE below doesnot work.PLease help \documentclass{report} \usepackage{graphicx} \usepackage[...
3
votes
1answer
27 views

Using hyperref to refer to unnumbered objects

I want to refer to a subsection, but my subsections and sections are not numbered. So I know I cannot use ~\ref{} and I should use hyperef, but it doesn't appear as I want. In the text I have: ...
0
votes
0answers
20 views

Allow automatic line breaks for custom commands [duplicate]

I have created a custom command for links in order to format them in a way I want to: \newcommand{\R}{\normalfont\underline} This works, but if I use this command with long texts and hyperref, ...
0
votes
0answers
29 views

Clickable text, hyperref. How to remove the red rectangles? [duplicate]

I'm using the package hyperref in my essay to make the index clickable. You click the index and then you gey to the right section. \usepackage{hyperref} that package is very useful here, but... ...
0
votes
1answer
40 views

Inserting hyperlink in CV

I am making a CV on Overleaf and and under one section I want to insert a hyperlink. But when I try out \hyperref it gives an error as LaTeX Error: Can be used only in preamble. Here's the ...
0
votes
0answers
21 views

Each entry in a BibTeX file has a “file” field

I just generated my BibTeX file using Mendeley File→Export and noticed that each entry has a file field: @article{Balachandran2013, author = {Balachandran, Athula}, ... file = {:Users/user/...
1
vote
0answers
28 views

How can I use hyper reference command in Latex? [duplicate]

In LaTeX, I want to refer any article by using \cite{name} successfully. Now I want to cite the same article in my paper and also the citation is hyperlink with the original document. I tried with ...
1
vote
1answer
60 views

Create hyperlink between citation call-out and printed entry? [closed]

I want to create cite source in latex using texmaker and mendeley. In particular, whenever I click on the cited reference it directly goes to reference part where that cited reference is mentioned.
1
vote
1answer
34 views

References/Links to reset sections

I have the following MWE: \documentclass{article} \usepackage{listings} \usepackage{hyperref} \begin{document} \tableofcontents \section{test} \clearpage \section{test} \clearpage \renewcommand\...
1
vote
1answer
44 views

Clicking Index in table of contents gets last chapter instead of Index

Here is a minimum working example: % !TEX TS-program = pdflatexmk \documentclass{book} \usepackage{xcolor} \usepackage{makeidx} \usepackage{hyperref} \hypersetup{colorlinks,linkcolor={red!50!...
3
votes
2answers
78 views

Cross referencing two texts

Consider these statements Exercise 1. $\phi(n)$ is multiplicative. Exercise 2. By Exercise 1 we have $\phi(n)=\prod_{p|n}(1-1/p)$. Suppose I want to cross refer Exercise 2 to Exercise 1 what ...
4
votes
1answer
36 views

Siamart0516 class and wrong hyperref driver

I'm using the siamart0516 document class and I keep getting errors like: Package hypdvips Error: Wrong hyperref driver `hxetex.def' selected! [ }] and LaTeX Error: Command \hc@orgtable already ...
1
vote
1answer
23 views

How to change hyper link from url to journal name?

I am using clean thesis and i want to change hyper link from url to journal name. Please suggest.
0
votes
0answers
18 views

How to use \citet in section title? [duplicate]

I am trying to use the \citet command in a section title, but the space after the reference and the first letter of the following word are cut off if I use the \texorpdfstring comand around the \citet ...
0
votes
1answer
22 views

Color only \nameref

I am using hyperref in conjunction with nameref and cleveref, and the objective is for \nameref{label} to be type-set in the link color (which it seems by default is red), but for \cref{label} to be ...
2
votes
1answer
25 views

LNCS class doesn't like \autoref

Consider the following document: \listfiles % for debugging \documentclass{llncs} \usepackage[colorlinks]{hyperref} \begin{document} \begin{theorem}\label{th}This is true.\end{theorem} See \autoref{...
5
votes
2answers
5k views

Change ref color of on the 'List of Figures'

In my 'List of Figures' Chapter the data is listed in red, and with a reference to appropriate part of the pdf file. I suppose this is due to \usepackage[colorlinks=true,linkcolor=red,citecolor=blue,...
13
votes
1answer
258 views

texlive 2016 hyperref/cleverref incompatibility

I almost always use ShareLaTeX for my LaTeX needs, but I recently began work on a relatively large document, and so I figured I would give a local TeX distribution a try to see if I could speed up the ...
0
votes
0answers
18 views

Theorem does not work after MikTeX update; no counter defined [duplicate]

The following stopped working after I updated MikTeX today: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{definition_}[equation]{...
0
votes
1answer
29 views

Math symbols in .pdf bookmarks tab don't displaying correctly

I am using the commands \usepackage{hyperref} \hypersetup{pdftex,colorlinks=true,allcolors=black} \usepackage{hypcap} to create clickable links in the index and references, and also to ...
2
votes
1answer
36 views

How do I use intersentence spacing in chapter/section names with hyperref?

I use Vim + vimtex + latexmk + xelatex. When using an acronym in a chapter name, Vim brings up this lint: Intersentence spacing (`\@') should perhaps be used. MWE: \documentclass{report} \...
7
votes
2answers
581 views

Modifying \autoref to behave (somewhat) like \vref

I would like to modify the \autoref command in the following way: if the \autoref command and the label are on the same page, it behaves like \autoref* (i.e., no hyperlink). Else, it behaves usually. ...
1
vote
0answers
35 views

hyperlink within caption to a figure

I'm getting an error message when I include a \hyperlink command inside the caption argument for a figure. It's a simple \hyperlink{<targetname>}{<text>} invocation. It produces two ...
0
votes
0answers
32 views

Clickable table of contents and non-clickable equation references?

I know that the hyperref package provides a clickable table of content and clickable equation references. How can I have clickable table of contents and non-clickable equation references ...