# Tag Info

5

The | is hidden by macro \comma@entry. Therefore hyperref does not see it, when it appends |hyperpage for hyper-linked page numbers in the index. \expandafter helps: \documentclass[12pt]{book} \usepackage{makeidx}\makeindex \usepackage{lipsum} \usepackage{kvsetkeys} \usepackage{hyperref} \begin{document} \lipsum[1] \index{This works fine|textbf}% ...

4

For some reason, \listoftheorems from thmtools does not add correct hyperlinks, when adding a ToC entry to the List of Theorems. It does also not provide automatic bookmarking for the PDF outline. Using a \cleardoublepage after \tableofcontents in conjunction with \phantomsection will provide the correct hyperlinking anchor. \documentclass{amsbook} ...

4

url changes the font but you can set it to default to serif to match \href: \documentclass{book} \usepackage{xcolor} \usepackage{hyperref} \hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue} \urlstyle{rm} \begin{document} url: \url{www.yahoo.com} href: \href{http://www.yahoo.com}{www.yahoo.com} \end{document} Note that \urlstyle{} is from url ...

4

The quoting mechanism using " conflicts with the Babel shorthands that German polyglossia sets up. This actually happens also with pdflatex and babel, where the " used for quoting simply kills the babel shorthands without warning. So the method can be recommended neither with babel nor with polyglossia. If you really don't need the shorthands, do ...

3

This is a minimal example how to use hyperref for bookmarks/outline If you want to have the bookmarks opened when the document is opened, use the option bookmarksopened=true If all bookmarks should be opened down to level of subsubsection, use the option bookmarkopenlevel=4, otherwise a smaller or even higher number. You need to set the tocdepth counter as ...

3

In a class I wrote I used this to get around this problem: \documentclass{article} \usepackage{zref-user,zref-counter} \usepackage{etoolbox} \makeatletter \pretocmd\refstepcounter{% \zref@setcurrent{counter}{#1}}{}{} \makeatother \usepackage{hyperref} \begin{document} Section counter: \zref[counter]{sec:label}\par Figure counter: ...

3

I'm not sure if there is some reason not to do this but very hasty testing suggests that hyperlinks work and the short title appears in white: \documentclass[leqno]{beamer} \usetheme{Madrid} \usecolortheme{whale} \makeatletter \renewcommand\insertshorttitle[1][]{% \beamer@setupshort{#1}% \let\thanks=\@gobble% \ifnum\c@page=1% ...

2

The answer to my question: hyperref doesn't have a feature to direct a web browser to open in a new tab from a PDF document. The Adobe PDF specs define a method for opening new browser tabs from a PDF document, but the example provided by Adobe is a Javascript implementation and doesn't apply to LaTeX. A subsidiary issue in the thread: creating a command - ...

2

As mailto: is a URI scheme, the rules for handling special characters are identical to those for URLs, which themselves also are URIs. Therefore one can use the so-called percent-encoding, which substitutes special characters by sequences of a percent sign followed by its UTF-8 byte sequence. For æ, this byte sequence is C3 A6, therefore its percent encoding ...

2

The second argument of \href is arbitrary text. If the text should appear as in \url, then \nolinkurl can be used, that acts as \url without the link part, which is already provided by \href. The font can be changed via \urlstyle, see the documentation of package url Example: \documentclass{book} \usepackage{xcolor} \usepackage{hyperref} ...

2

Class beamer loads hyperref with option implicit=false. That means that the loading of hyperref is stopped earlier and important parts are not loaded. Thus the equations do not even generate anchors. Without anchor no link (at least not to the place, where it should go), without anchor name no \autoref. The workaround consists of two parts: Anchors are ...

1

Check out this solution: http://tex.stackexchange.com/a/201952/62165. It might solve your problem. It is based on \href but you could use it as a \url replacement by making the two input parameters the same, ie, \click{www.yahoo.com}{www.yahoo.com}. Aternatively you could modify the \click command to take only one parameter. It doesn't change the background ...

Only top voted, non community-wiki answers of a minimum length are eligible