# Tag Info

6

hyperref has the option ocgcolorlinks which does exactly what you want. From hyperref's README Experimental option ocgcolorlinks The idea are colored links, when viewed, but printed without colors. This new experimental option ocgcolorlinks uses Optional Content Groups, a feature introduced in PDF 1.5. The option must be given for ...

6

For a non-TeX solution: you can use the command line tool pdftk to splice up the original PDF and make a new PDF with just a subset of the pages from the original PDF. This will preserve the hyperlinks from the original PDF.

5

The cleveref package adds an optional argument to the \label command, specifying to which 'driver' counter a label should belong. Alternatively, one could use the aliascnt approach as described in the cleveref manual, see page 9 of the PDF doc. Since this approach is not necessary if hyperref is not included, there seems to some incompatibility or a bug. My ...

4

You may have discovered a bug in cleveref's \crefalias macro and/or in hyperref. A remedy would be not to use the \crefalias device; instead, set \crefname{Thm}{theorem}{theorems} in the preamble and use \label[thm]{thm:long}, i.e., set the optional argument to \label that specifies the counter type to be used for cleveref's cross-referencing work. ...

4

You can create a link to an embedded file using the JavaScript function exportDataObject. The following code creates a new command \embeddedfilelink{<file>}{<text>} that creates a link to an embedded file specified by its file name with the given link text. The code is taken from hypgotoe and modified to create a JavaScript action instead of a ...

4

Also LaTeX solutions are available. \include, \includeonly The document can be divided at page boundaries into single files, e.g. chapters. These are then included via \include. Then \includeonly with the file names, which should be included. Example: \documentclass{book} \usepackage{hyperref} \includeonly{Summary} \begin{document} ...

3

With your code you get a warning like LaTeX Warning: cref reference format for label type `exerciseii' undefined on input line 24. so you need to provide definitions for exerciseii; also, you need to prepend the exercisei counter for cross referencing, instead of enumi; something like ref=\arabic{exercisei}(\alph*) A complete example: ...

3

Perhaps this is what you need? Text\href{http://www.ctan.org/}{\footfullcite{test}} or Text\footnote{\href{http://www.ctan.org/}{\fullcite{test}}} or even Text\footnotemark \footnotetext{\href{http://www.ctan.org/}{\fullcite{test}}} With the first option, the footnote marker in the text will contain the link; with the second and third options, the ...

3

The problem is the way link destination names are generated by hyperref. If the counter value is used, this will lead to errors, since Chapter 1 occurs four times in this document, each time the chapter counter has a value of 1 then. The relevant portion to change is hypertexnames=false (initial default value is true) From the manual of hyperref: ...

2

This answer defines a new command \Chapter which links entries in the contents with chapter pages using navigator rather than hyperref. Used in overly creative ways, this will certainly break things. Used in fairly standard ways, however, I think it may be helpful. Caveat emptor... By default, loading navigator has no effect on your document (as far as I ...

2

You need to also adjust the H-style counter associated with thm: \documentclass{article} \usepackage{hyperref} \makeatletter \newenvironment{subtheorem}[1]{% \def\subtheoremcounter{#1}% \refstepcounter{#1}% \protected@edef\theparentnumber{\csname the#1\endcsname}% \setcounter{parentnumber}{\value{#1}}% \setcounter{#1}{0}% ...

1

The following solution inserts a new hyper target (an internal document link) as part of the chapter format setting. The first step is to insert the hyper target: % Add extra hyper target for chapter: chapter..\thechapter \renewcommand*{\chapterformat}{% \mbox{\raisebox{25pt}[0pt][0pt]{\hypertarget{chapter..\thechapter}{}}% Add ...

1

As you are using hyperref I dont see the need for any additional package like bookmark For the numbering of regular section : hyperref as has an option bookmarksnumbered which does the job ! For the label of *-section : hyperref also defines a \phantomsectioncommand which creates the expected (unnumbered) bookmark, and which can be used for bookmarking the ...

1

I have been struggling with the same problem for a couple of days. In my case, I couldn't wrap the listings in floats, since I wanted them to be able to break across multiple pages. And it isn't really desirable for me to break up the caption and label in separate arguments, as in Werner's solution, since I want to be able to use the listing environment's ...

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