Tagged Questions

{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

2
votes
0answers
63 views

Format Table of Contents [duplicate]

Possible Duplicate: Remove ugly borders around clickable crossreferences and hyperlinks I downloaded a Latex model to build my finishing degree course, but the summary came in a strange ...
1
vote
1answer
742 views

autoref with the float package

I would like to use \autoref{fig:subfig:a}, but I don't get the figure number by simply typing this. My code is: \documentclass{article} \usepackage{amssymb,amstext,amsmath,latexsym,mathtools} ...
4
votes
0answers
687 views

No external links in hyperref [closed]

I have a very weird problem using the hyperref package. When I try to link an external web site it doesn't work and only show me the link which it is pointing to. I've tried this MWE: ...
4
votes
1answer
456 views

Problem when bidi & hyperref packages are used with custom document class (XeLaTeX)

There is a problem when bidi & hyperref packages are used together and custom document style is used. For example: \documentclass[unicode]{myreport} \usepackage{xltxtra} \author{Author} ...
2
votes
1answer
377 views

URL doesn't work in header

\documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[MeX]{polski} \makeatletter \renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad} ...
13
votes
1answer
364 views

highlights path sequentially BUT in order of clicking

I have been looking for a possibly difficult answer to a simple question. I would like to be able to highlight paths on a TikZ picture. I would like to highlight these paths by clicking on them and at ...
16
votes
2answers
6k views

How to use different colors for different \href commands?

I have two different \href{}{} links and I want each to be a different color. In the example below they will both be blue, how can I make each link have a different color? \documentclass{article} ...
6
votes
3answers
272 views

list of occurences of references

I need a list like the list of figures for \ref entries in the text to instances of a custom Theorem environment. Here's a MWE with a handbuilt example. The solution should add features to this code I ...
0
votes
2answers
258 views

Hebrew sections with cjhebrew (and hyprref)

I sometimes write hebrew words in english or german texts. For this I use cjhebrew. It works fine unless I try to write a section or subsection in hebrew. With \subsection{\cjRL{kwl}} I get aTeX ...
8
votes
2answers
1k views

Make Chapter Titles link to Table of Contents

I'm using the hyperref package to create hyperlinks in my document. The links from the TOC->chapters/sections work great, but I was wondering if there was a way to automatically insert hyperlinks from ...
7
votes
4answers
2k views

Adding words to links generated by hyperref

\documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \usepackage{polski} \begin{document} \begin{figure} . \caption{A figure} \label{fff} \end{figure} \lipsum[1] Rysunek~\ref{fff} jest ...
6
votes
1answer
525 views

Apparent conflict between hyperref and tex4ht packages

I am trying to use both the hyperref and tex4ht packages to format a textbook into a web textbook. Everything works except if I comment out chapter one, but if I include chapter one in the document, ...
7
votes
1answer
496 views

how to hyperlink a shape using tikz [duplicate]

Possible Duplicate: Making TikZ nodes hyperlinkable something that has been giving me trouble for some time now. I would like to attribute a hyperlink to a shape, that is, not to text but ...
4
votes
2answers
193 views

restricting hyperref link to part of toc / lo* entry

In some tocloft list there are entries, which may span multiple lines. Now hyperref makes the number in front, the first line and all the following lines into links. Can this be prevented? Only the ...
12
votes
4answers
486 views

Set chapters at section level in the table of contents

I have: \chapter{My first chapter} \chapter{My second chapter} \phantomsection \addcontentsline{toc}{chapter}{Appendixes} \appendix \makeatletter \def\toclevel@chapter{1}\def\toclevel@section{2} ...
3
votes
1answer
896 views

Correctly add custom table of content item [duplicate]

Possible Duplicate: Index is incorrectly listed in the table of contents I want to add a custom section to my table of contents. I know I can use addcontentsline{toc}{section}{title}. ...
5
votes
3answers
2k views

Use mathematical equation in caption with onlyamsmath

Apparently it seems to raise a warning »LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.« if I want to use a mathematical equation in a figure's caption and I use the ...
1
vote
0answers
419 views

How to insert links to file in LyX? [closed]

I am writing a report in LyX. I want to insert a link to a PDF file. I used the hyperlink feature available in LyX. Then in the target field I gave the path. In the name field I gave a random name. ...
4
votes
1answer
499 views

Hyperlink doesn't answer

In my output PDF, \href seems not to work. I generate a PDF file, using pdfLaTeX, and in the compiled file the link doesn't connect to the Web site. How can I fix it? ...
8
votes
1answer
1k views

Index not linked properly in the navigation

I'm having troubles making Index visible in the navigation that is shown with the pdf preview of the document. Namely, the following is the end of my main .tex file: % Bibliography % ...
0
votes
1answer
2k views

hyperref in Texmaker not making clickable links in table of contents

I am using Texmaker 3.1 on Windows 7 (also tried Texmaker 3.3.3 with the same result) with a MikTeX 2.9 back end to compile a document where I would like the table of contents to link to the pages. ...
1
vote
0answers
90 views

Contents, List of Figures: hyperref on the page number [duplicate]

Possible Duplicate: Avoid hyperlinked TOC if hyperref is used In the process of finalizing a book I observed that it would be much better if I could translate the hyperref from the, e.g., ...
4
votes
1answer
648 views

Packages hyperref together with subfig break when \renewcommand{\thefigure}{…} is used

The following code compiles and acts as you would expect: \documentclass[12pt]{report} %\usepackage{hyperref} \usepackage{subfig} \begin{document} \begin{figure} \centering ...
3
votes
1answer
2k 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 ...
4
votes
1answer
479 views

Preview on OS 10.7 does not display links in PDFs correctly

I would like links to appear as coloured underlines in my documents. The following short example produces a pdf that displays the link correctly in Acrobat, but not in Preview. In Preview it shows up ...
6
votes
2answers
672 views

Hyperref link placement: alignment to left page border and top of page

(a) Is is possible to have certain hyperref-hyperlinks (such as those to sections and also (when using memoir) to the table of contents, lists of figures and tables, and bibliography) point to the ...
5
votes
2answers
457 views

Certain hyperlinks (memoir+hyperref) placed too low

I tend to use the memoir class together with the hyperref package, in order to have my table of contents, the lists of tables and figures, and the bibliography be hyperlinked. While all links to ...
6
votes
1answer
2k views

hyperref pagebackref: page number and link in references wrong

I try to use hyperref with pagebackref to get a page number and a link for each of my references. My first pages have roman numbers (title page, ...), later on I switch to arabic numbers. For whatever ...
6
votes
2answers
814 views

Automatic target “here” with \bookmark (as with \pdfbookmark)?

Please consider the following MWE: \documentclass{article} \usepackage{hyperref} \usepackage{xcolor,bookmark} \usepackage{lipsum} \begin{document} \section{Section 1} \lipsum[1-3] % hyperref: ...
18
votes
2answers
5k views

\ref should use enumerate label name

I have done this: \begin{enumerate} \renewcommand{\labelenumi}{\textbf{S.\theenumi}} \item a \item \label{l} b \item c. goto \ref{l} \end{enumerate} The \ref just uses the enumerate number. But I ...
8
votes
1answer
706 views

Hyperref mouse over action on links

Using hyperref package, is it possible to have links that change their color when you hover over with the mouse similar to the HTML link behavior in browsers?
0
votes
1answer
124 views

macro for hyperref package so that it returns a result like 1-3,5-7,9,11-12 instead of 1,2,3,5,6,7,9,11,12

I would like to request your help with the following: With the package hyperref I get a lot of backreferences in my bibliography like 1,1,1,2,2,3,5,8,9,10,11,11,11,12,12,13,17,19 Now I wanted to write ...
4
votes
1answer
210 views

texindy/imakeidx book marks point to incorrect pages with multiple indices

I have two indexes: the Main Index and Name Index. The PDF books are visually correct: Note that the Name Index starts on Page 6, and the Z entry for the Name Index is on Page 7. However, up ...
6
votes
2answers
2k views

question on radiobuttons ( \ChoiceMenu[radio,…] ) of a fillable form made with package hyperref

I often use radiobuttons ( \ChoiceMenu[radio,...] ). But there is one aspect I am not happy about: If you select/check a certain button of your group of radiobuttons, then without javascript there is ...
2
votes
1answer
267 views

Reference Lemma from the same document

I am writing a document, where I have 3-4 Theorems, and a Lemma. I want to refer to the Lemma in the Theorems (possibly highlighted and a link to the Lemma). How should I go about doing it? I tried ...
5
votes
2answers
719 views

How to add more information to title slide

I have the following section of TeX: \documentclass[landscape]{slides} \usepackage[landscape]{geometry} \author{My Name} \title{My Title} \date{The Date} \begin{document} \begin{slide} \maketitle ...
8
votes
2answers
206 views

Formatting index page references as “1 sq.” without “sq.” being part of a hyperlink

By default, MakeIndex will format page references which are composed of two or three consecutive pages as (e.g.) "1, 2"/"1-3". With a suitable index style file, the formatting can be changed to "1 ...
3
votes
1answer
361 views

Anchor index for clickable index words?

makeidx package will list the words and references to the pages they appeared. Is it possible to mix the page numbers with \hyperref package to make the page numbers clickable with ...
8
votes
1answer
161 views

Include information at the beginning of a document based on what comes later

I need to show a list of items/keywords/duedates used throughout my document at the beginning of the document, and make them hyperlinks. To be able to use this information the beginning of the ...
10
votes
2answers
729 views

Substitute italic ampersand with alternative ampersand in Linux Libertine O

Based in this answer I want to create a command \amper that uses the alternative ampersand of Linux Libertine O and leaves the regular \& alone. The problem with the MWE below is that hyperref ...
3
votes
2answers
1k views

chicago.sty and hyperref: hyperlink formatting

chicago.sty offers a number of citation commands which may output a link to the bibliography if hyperref is used. As long as no page number is given, hyperlink formatting is as expected (cf. last ...
1
vote
0answers
994 views

How to handle special characters in URLs while using \href [closed]

Special characters like % throw href off. What package, if any, gives a work around? Would there be a side effect to changing the URLs from % to \%? EDIT On a second try, on a different computer, I ...
6
votes
1answer
764 views

TeX capacity exceeded, when flexisym scrreport, hyperref, and section heading with math all used together

I'm getting the error: TeX capacity exceeded, sorry [input stack size=5000] Under the following very specific combination of packages and document class: \documentclass{scrreprt} ...
4
votes
1answer
415 views

Reference a table by caption created by ctable

Fixed in the new version of ctable ctan-ann: CTAN Update: ctable 26 May 2012 Might be a stupid question, but is there a way to reference, that means print, the caption of a ctable? hyperref ...
5
votes
2answers
427 views

Extract Section number from Equation reference

How can I obtain the number of the Section in which an Equation (or Figure) appears? For instance, I have the reference 3.2, which refers to the second (2nd) Equation in Section 3. How can I extract ...
8
votes
2answers
350 views

How to make a switch for print vs. display versions of a document with respect to links/URLs

I want the print version of a document have links or URLs written out but the online version have the abbreviated tag/name. So the switch, set at the beginning, will choose between two alternatives, ...
4
votes
2answers
936 views

footnote in table with hyperlinks

Answer to the problem below: I was using latex c.tex; dvipdf c.dvi to compile the pdf, instead I should use pdflatex c.tex, it also showed up that \begin{savenotes} will create links to the top of ...
7
votes
1answer
198 views

hyperxmp + xelatex bug: duplication of pdfkeywords

I found an annoying bug(?) relating to the pdfkeywords metadata field which hyperref allows to set. When hyperref is used in combination with hyperxmp and the document is compiled with xelatex the ...
4
votes
2answers
203 views

Automatically position detailed information about an equation into appendix

How can I automatically position the details about a certain equation into an appendix? I've attempted this answer with some success. However, I would like the numbers to work as clickable ...
3
votes
1answer
427 views

Remove cross-references to sections from bibliography entries

I am using an in-document bibliography i.e. \begin{thebibliography}{99} \bibitem{R:30} ... \end{thebibliography} For reasons unknown this results in latex placing an index of section references to ...