hyperref
hyperref copied to clipboard
Hypertext support for LaTeX
Bug description in text. ``` \documentclass{article} \usepackage{hyperref} \begin{document} \section{First page section} First page text. \newpage Second page text, with label text2.\label{text2} \newpage Third page text, with pageref to text2: page...
Currently, some types of links can have their own color. I would suggest extending this to footnote marks. It seems doable as shown in https://tex.stackexchange.com/questions/117943/hyperref-footnotes-and-section-ref-colors So, unless there are other...
Could you define a new command `\def\ref@name{#1}` and add a new hook to ref the same like it is done in \label: ``` \def\NR@setref#1{% \def\ref@name{#1}% \setref@hook \begingroup \@safe@activestrue \expandafter \endgroup...
Hyperref uses the language set by babel, but does not know about the named option `main`. MWE: ``` \documentclass{article} \usepackage{acronym} \usepackage[english,main=ngerman]{babel} \usepackage{hyperref} \begin{document} \section{Test}\label{foo}\autoref{foo} \end{document} ``` This outputs `section 1`,...
The following MCE used to work with previous versions of `hyperref`: ```latex \documentclass{book} \usepackage{xpatch} \usepackage{hyperref} \makeatletter \xapptocmd{\@chapter}{% \addtocontents{foo}{\protect\addvspace{10\p@}}% }{}{} \makeatother \begin{document} \chapter{Foo} \end{document} ``` but now it gives the following...
First a minimal working example is as follows. ``` \documentclass{report} \usepackage{makeidx} \makeindex \usepackage{hyperref} \begin{document} foo\index{foo}\index{foo|seealso{bar}} foo\index{foo} bar\index{bar} \printindex \end{document} ``` Index page output without the `\usepackage{hyperref}` line is as follows....
Looking at some log file I noticed a dimen register was allocated with name `\XeTeXLinkMargin`. I looked into `hyperref.sty` and found this: ```latex \newdimen\XeTeXLinkMargin \setlength{\XeTeXLinkMargin}{2pt} \ifxetex \font\XeTeXLink@font=pzdr at 1sp\relax ......
Currently, `hyperref` makes `varioref`'s user customization option `\vrefformat` no-op, as shown in the MWE below: ```latex \documentclass{article} \usepackage[nospace]{varioref} \usepackage{hyperref} \renewcommand*{\vrefformat}[2]{% Foo \ref{#2} \vpageref[#1]{#2}} \begin{document} \section{Section 1} \label{sec:section-1} \clearpage{} \vref{sec:section-1} \end{document}...
`\vnameref` seems to be swapping the space position before and after the `\nameref` call when the `varioref` option `nospace` is active. MWE: ```latex \documentclass{article} \usepackage[nospace]{varioref} \usepackage{nameref} \begin{document} \section{Section 1} \label{sec:section-1}...
Section 4 of the manual "Interfaces for class and package authors" lists some public interfaces of `hyperref`, and welcomes suggestions, so I make a couple of them. I'm not sure...