7

The bookmark package is useful for automatically generating bookmarks within Springer's svmult document class, intended for books with individual author contributions appearing as chapters. The TOC generated is acceptable, but a bookmark is added that refers to the authors of the chapter, and all sections of the chapter are nested under the bookmark with the authors' names. This looks a bit ugly.

How can I suppress the bookmarks generated from the authors lists without damaging the TOC or, say, manually modifying the resultant PDF in Acrobat?

Alternatively, how can I alter the nesting level of author? The usual hypersetup trick doesn't work.

MWE:

\documentclass{svmult}
\usepackage{bookmark}

\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\title{MWE Chapter}
\author{Me, Myself, and I}

\maketitle
\end{document}
  • Heiko's answer is perfect. Thanks for the explanation to go with it! – Robert Walker Jul 11 '13 at 12:50
6

Class svnmulti does not define bookmark level entries for titlech and authorch that are used in the table of contents for the title and the author. Package hyperref then uses the default 0:

Package hyperref Warning: bookmark level for unknown titlech defaults to 0.
Package hyperref Warning: bookmark level for unknown authorch defaults to 0.

Both the warnings can be avoided and the author can be put a level deeper by providing the missing bookmark levels, e.g.:

\documentclass{svmult}
\usepackage{bookmark}
\makeatletter
\providecommand*{\toclevel@titlech}{0} 
\edef\toclevel@authorch{\the\numexpr\toclevel@titlech+1} 
\makeatother

\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\title{MWE Chapter}
\author{Me, Myself, and I}
\maketitle
\end{document}

The same way, the entry for the author can be suppressed by using a value that is larger than the bookmarksdepth, e.g.:

\makeatletter
\providecommand*{\toclevel@titlech}{0}
\def\toclevel@authorch}{1000}
\makeatother

Similar to tocdepth, the entries are not added to the bookmarks, if their level is larger.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.