Consider I am using hyperref package. Following LaTeX source: By the definition of $G_{L,\lambda_1,\lambda_2}$ (Definition \ref{def:bipGraphInducedByLl1l2_DecomposesL}) we have that  produces the following output:  i.e., only the number of the definition is made to be hyperlink. Is there possibility to link also the keyword Definion? I mean, I want whole &quot;Definition 4.3&quot; to be a hyper link. Thanks for help!
121636
Is it somehow possible that I can extend the link to something which I produce by using \ref with a label by the word standing before \ref? If I write something like that: For further information, have a look into chapter \ref{chap:abc} and figure \ref{fig:def}  then the only thing being &quot;clickable&quot; are the chapter number and the figure number. Is it somehow possible to make the words &quot;chapter&quot; and &quot;figure&quot; being linked to those objects as well?
60425
To get the output Toc or pdf bookmark below:   Part I     Chapter I     Chapter II Part II     Chapter I     Chapter II   I need to reset the chapter counter. I google and get one method.   \makeatletter \@addtoreset{chapter}{part} \makeatother   Yes, It can output like this. But hyperref package can not link to right target for chapters after chapter I. That is said page ref link broken.  I like to define all style in style file. the mini-document:   \documentclass[]{book} \usepackage[]{hyperref} \usepackage{mini} % my own style file  \begin{document} \tableofcontents \part{Test} \chapter{One} \chapter{Two} \part{Test} \chapter{Three} \chapter{Four} \end{document}    and the mini style file:   \renewcommand\part{%   \if@openright     \cleardoublepage   \else     \clearpage   \fi \setcounter{chapter}{0}} % I reset manually here.
58595
I'm creating a simple macro with \href in it. But it seems to be kind of tricky, because using \href with a parameter does not recognize the link format. It simply adds an unwanted .pdf to the link target.  Basically the link  https://ctan.org/pkg/hyperref   is automatically changed to   https://ctan.org/pkg/hyperref.pdf   What is causing this behavior?  \documentclass{article} \usepackage{expl3,xparse} \usepackage{hyperref} \ExplSyntaxOn \cs_new:Npn \__pkgcls:n #1 {     \texorpdfstring{             \href{https://ctan.org/pkg/#1}{\ttfamily#1}     }{#1} } \DeclareDocumentCommand{\class}{o m}{% typeset class names     \__pkgcls:n { #2 } } \DeclareDocumentCommand{\package}{o m}{% typeset package names     \__pkgcls:n { #2 } } \ExplSyntaxOff \begin{document}   \class{scrartcl}\\\package{hyperref}\\\href{https://ctan.org/pkg/hyperref}{\ttfamily hyperref} \end{document}     Update: Here's a screenshot:    Update: The problem seems clearly expl3 related. Using something like  \def\pkgcls#1{\texorpdfstring{\href{https://ctan.org/pkg/#1}{\ttfamily #1}}{#1}} \def\pkg#1{\pkgcls{#1}}   produces the correct result.
40452
hyperref provides the command \hyperlink, with syntax:  \hyperlink{name}{text}   where name is the name of a hypertext object, and text is used as the link to jump to the defined mark. Page anchors, e.g., page.12, can also be used as hypertext objects. For example,  Click \hyperlink{page.23}{here} to jump to page 23.   This was proposed by Martin Scharrer as a solution to  .  I would  like to link a string of text to a page (by page number) using \hyperlink, but being able to refer to an implicit page anchor page.&lt;number&gt; whose ''number'' is not known in advance. That is, use a value of the counter page, which is only set later in the document, in the argument of \hyperlink.  Here's a hypothetical solution:  \documentclass{article}  \usepackage[pageanchor]{hyperref} % option is the default anyway  %% Martin Scharrer's patch for hyperref %% available at https://tex.stackexchange.com/a/19416/9237 \makeatletter \let\orig@Hy@EveryPageAnchor\Hy@EveryPageAnchor \def\Hy@EveryPageAnchor{%     \begingroup     \hypersetup{pdfview=Fit}%     \orig@Hy@EveryPageAnchor     \endgroup } \makeatother   \def\getpageref{???}   % \getpageref extracts the numeric value of \pageref{key}                        % for use in the first argument of \hyperlink  \begin{document}  See \hyperlink{page.\getpageref{lkd}}{this page} for further clarification.  \newpage  This is the linked page.\label{lkd}  \end{document}   I know how to achieve a similar solution by simply using \label and then \pageref (or \autopageref), but I am interested in making use of a hyperref patch proposed  by Martin to make all page anchors be displayed in full page mode. (This patch only seems to work with \hyperlink.)
100593
I have very often met the Package hyperref Warning: Token not allowed in a PDF string. Being fed up about it and curious to know what it meant, I was about to ask the n-th duplicate of that questions. Fortunately I bumped into  just in time and solved the problem. Another question was naturally opened in the process: what are these pdf bookmarks, what is their use, and how do I make them appear in the pdf? And since I had a \cdot in a section title, is it possible to have a high dot in a bookmark, as \texttwosuperior seems to make it possible for a 2?
121211
It is possible to make a hyperref to go to page x, but how we can define a custom anchor to go a destination line?  For example:  \documentclass{article} \usepackage{lipsum}  \begin{document}   \lipsum[1]   \lipsum[2]   THE DESTINATION LINE (anchor x)   \lipsum[3]   \lipsum[4]   CLICK HERE (go to anchor x)   \lipsum[5] \end{document}   How to click on CLICK HERE and goes to the DESTINATION LINE? I mean displaying THE DESTINATION LINE as the first line in the pdf reader.
64417
I use hyperref and I produce the pdf via pdflatex. Everytime I use \ref I get in the pdf a clickable link and I am happy with it... but I would like to disable the hyperlink in the pdf for one particular \ref, is it possible?
21186
I once read about an option for hyperref that automatically takes the info provided via the standard \author and \title, and puts it into the pdfinfo. Now I want to implement it in my template and can't find it anywhere in the hyperref manual nor anywhere else.  Did I dream about this or can someone help me out here?  (A similar, but more general question: )
67546
In the following MWE, I receive a warning and a reference points to the wrong element.  \documentclass{article} \usepackage{hyperref} \usepackage{amsmath} \begin{document}     \begin{equation}         \label{eq1}     \end{equation}      \begin{equation}\tag{\ref*{eq1}b}         \label{eq1b}     \end{equation}      \begin{equation}         \label{eq2}     \end{equation}  This reference is incorrect: \ref{eq2} points to 1b. Also, this warnings appear: \begin{verbatim}         pdfTeX warning (ext4): destination with the same identifier         (name{equation.0.2}) has been already used, duplicate ignored     \end{verbatim} \end{document}   In this variant with equation*, the latter problem is fixed, but a new one introduced. A link that was fine before is now wrong:  \documentclass{article} \usepackage{hyperref} \usepackage{amsmath} \begin{document}     \begin{equation}         \label{eq1}     \end{equation}      \begin{equation*}\tag{\ref*{eq1}b}         \label{eq1b}     \end{equation*}      \begin{equation}         \label{eq2}     \end{equation}      This reference is incorrect: \ref{eq1b} points to 1. No warning. \end{document}   How can I get all references correct?  These questions are similar, but don't help:
108695
I'm using the backref=pages extension of the hyperref package, as I'd like to have a list of back-reference pages after my bibliographic items. Is there a way to enclose these page numbers in brackets like "[2]" instead of just having the number (without enclosure)?  For example, I'd like for a bibitem to appear as     [1] Witten, E., The Theory of Everything, Any Journal, Volume, Pages   (Year) [pg. 1], [pg. 2]
68418
I'm trying to get hyperref to work with pdflatex, but I'm getting the error hyperref Warning: Draft mode on and since all hyperrefs are disabled in draft mode, there are no links being created.  I tried doing the following: \usepackage[final]{hyperref} but still no success.  I'm using document class book: \documentclass{book} so nowhere do I say that I want draft enabled.  Tried compiling on two different machines with TexnicCenter using pdflatex(LaTeX=>PDF).  Any suggestions?
107603
I am using cleveref's \cref{label} command with multiple arguments. I want to ensure that it explicitly lists all three sections that I am referencing regardless of if they are in order or not.  At the moment they are referenced as "sections 1 to 3" with the 1 and 3 being hyperlinked.  I need all three listed something like "sections 1, 2 and 3" with all digits hyperlinked so that the reader can click through directly to section 2.  I am using hyperref for the links (and I've put the \usecommand{cleveref} after the one for hyperref).
18837
I have a section heading which includes an epsilon. Furthermore I am using the "hyperref" package to create links in my PDF document.  When compiling I get a strange warning that a math symbol is not allowed in a PDF string, e.g. Token not allowed in a PDF string (PDFDocEncoding): (hyperref) removing \varepsilon on input line 6.  However, if I open the compiled PDF there are no obvious errors and all links are clickable. Am I missing something, or can I just ignore this warning? Are there any alternatives to achieve the same result?  \documentclass{article} \usepackage{hyperref}  \begin{document} \tableofcontents \section{$\varepsilon$SOA}  Text about $\varepsilon$SOA.  \end{document}     Thanks in advance!
9889
I would like my document to have clickable hyperlinks inside \overset environments. I'm using XeLaTeX because of the fonts…  This is a (rather) minimal example:  \documentclass[a4paper, 12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage[xetex, colorlinks=true, citecolor=blue, linkcolor=blue]{hyperref}  \begin{document}  \begin{equation}     a = b \label{eq} \tag{$\ast$} \end{equation}  \[ \eqref{eq} \] % working hyperlink here.  \[ c = a \overset{\eqref{eq}}{=} b \] % existing but non-clickable hyperlink here.  \end{document}   Any help is greatly appreciated!
74800
I'm using the backref package within the hyperref package:  \usepackage[backref]{hyperref}   I get the following result:  Philip Hall. On representatives of subsets. Journal of the LMS, 10, 1935. 3.2, 4.1   where 3.2 and 4.1 are hyperlinks to sections in which this bibliographic entry is referenced. Is it possible to get pages instead of sections?
42373
It used to be possible to add hyperlinks to ConTeXt documents in the style of the LaTeX hyperref package. Minimal formerly-working example:  \def\href{\dodoubleempty\dohref} \def\dohref[#1][#2]{\leavevmode     \pdfstartlink     attr{/C [1 0 0] /Border [0 0 1]}     user{/Subtype /Link /A &lt;&lt; /Type /Action /S /URI /URI     (#1) &gt;&gt;}\ifsecondargument #2\else #1\fi\pdfendlink}  \starttext Here is a \href [http://tex.stackexchange.com] [link] to my favourite web site. \stoptext   \stoptext  But it doesn't work with recent ConTeXt installations! As far as I can tell, the \pdfstartlink and pdfendlink commands are either silently ignored or treated as some sort of switch in/out of a verbatim mode. My guess is that something has changed in luaTeX.  What can I change in my old ConTeXt source files to make them compilable with current ConTeXt? I do know about the esoteric alternatives in  but that's not what I'm asking.
111261
Possible Duplicate:             I'm using the package hyperref. When referencing my figure, I currently use code like  Figure \ref{fig:chorus-overview} gives an overview of the basic concept.   because \ref will just yield a single integer 1, as opposed to Figure 1.  However, the word Figure is auto-generated for the figure environment caption, so when using a package such as [ngerman]{babel}, it's Abbildung instead, and I need to fix the text before my reference.  Is there any way to directly get the Figure 1 text via \ref or a similar command?  EDIT  Additionally to the steps described in Sveinung's answer (using \autoref from hyperref or \cref from cleveref), I needed to make sure to place the label before the caption in the figure environment, as pointed out by Werner, and to include babel before hyperref/cleveref.  \nameref does not do what I need, since it copies the text of the caption instead.