Tag Info

New answers tagged

1

Package bookmark provides a way to raise the level of "Appendices": \bookmarksetupnext{rellevel=-1} \begin{appendices} \chapter{First appendix} ... \end{appendices} \bookmarksetupnext is applied to the next bookmark and the following appendix chapters will be sorted below "Appendices" in the outline tree. Patching \addappheadtotoc A different way, ...


0

Thank You very much for your idea Jiri Srubar but fortunately I don't need to try because a few minutes ago I managed to solve this problem in the following way: I reinstalled MiKTeX again but before installing any of the necessary packages I used the packagemanager's 'Synchronize' option from the 'Repository' menu. After this, I downloaded the packages the ...


0

I had similar problem. I usually use the "latex > dvips > ps2pdf" workflow, and for ps2pdf I'm using GPL GhostScript batch. And it seems that GhostScript is the culprit. When I downgraded GhostScript back to version 9.02 (from 9.15), PDF bookmarks are generated correctly again. (Upgrading to 9.16 didn't help.) (W7, MikTeX 2.9, TexStudio 2.9.4)


3

\autoref knows only a basic set of names; just teach it what it should substitute for thm: \documentclass{article} \usepackage{hyperref} \usepackage{cleveref} \pdfstringdefDisableCommands{\let\Cref\autoref} \newtheorem{thm}{Theorem} \newcommand{\thmautorefname}{Theorem} \newtheorem{theorem}{Theorem} \begin{document} \section{Section 1} ...


1

The \Cref command cannot be used in \section when bookmarks are being produced; however, \autoref works (it's less powerful, though). For a simple application like this you can do as follows: \documentclass{article} \usepackage{hyperref} \usepackage{cleveref} \pdfstringdefDisableCommands{\let\Cref\autoref} \newtheorem{theorem}{Theorem} \begin{document} ...


6

I'm afraid there is no solution for this, apart from using the command \texorpdfstring, that is you have to specify what has to go in the text and what has to go in the bookmarks. Hence, substitute \section{Proof to \Cref{some label}} with \section{Proof to \texorpdfstring{\Cref{some_label}}{Theorem \ref{some_label}}} Note that it isn't a good idea to ...



Top 50 recent answers are included