New answers tagged

0

Inserting \pdfbookmark{<bookmark-name>}{<label-name>} before each row, I managed to get the respective .pdf bookmarks to them. They work as intended, only if the command is put in the right place (or else it doesn't appear in correct order) along with the correct label. I can't get the level=0 or 1 option to work, but all good things in due time, ...


0

With \protect\section everything seems alright`. If a link is needed, more has to be done, of course. \documentclass{article} \usepackage{longtable} \usepackage[bookmarksopen,bookmarksopenlevel=3]{hyperref} \usepackage{bookmark} \usepackage{blindtext} \begin{filecontents}{firstpart.tex} \blindtext[3] \end{filecontents} \begin{document} \tableofcontents \...


2

By using the bookmarks package, it is possible as follows: \section*{Acknowledgements} \hypertarget{Acknowledgements}{} \bookmark[dest=Acknowledgements]{Acknowledgements} Credits go to http://tex.stackexchange.com/a/11965/9075 for hypertarget.


0

This is easy. Just put \hypertarget{}{} one line above where you actually want \hyperlink{}{} to hit.


1

The resetting of chapter numbers by part confuses hyperref and does one anchors both for the links as well as wrong levelling in the bookmark. This can be changed by a redefinition of \theHchapter in the \AtBeginDocument hook. \documentclass[a4paper, 12pt, italian]{report} \makeatletter \@addtoreset{chapter}{part} \makeatother% \usepackage{ctable} \...


1

Adding \usepackage[hidelinks]{hyperref} before \usepackage[numbered]{bookmark} Gets rid of the color boxes. However, my Figure numbers and captions are vertically offset from each other by about half a line...


1

The issue is most likely the well-known problem: \setcounter{chapter}{0} leads to wrong hyperref anchors, since counter values are used to build such anchors. One solution is to provide another \theHchapter setup, say \renewcommand{\theHchapter}{\appendixname.\thechapter} This will write names like \@writefile{toc}{\contentsline {chapter}{Appendix ...


3

Not any character is possible in a PDF bookmark -- Unicode is supported but this requires a different setup of the content of bookmarks. This can be achieved with \texorpdfstring{TeX content}{pdf content} \documentclass{article} \usepackage{textgreek} \usepackage{hyperref} \hypersetup{pdftex,unicode,colorlinks=true,allcolors=black} \usepackage{hypcap} ...



Top 50 recent answers are included