1

I'm trying to modify the SIAM class to allow PDF bookmarks. Please use the following version of the class file: https://siam.org/journals/tex/siamltex.cls. Here is a sample code that fails to produce PDF bookmarks:

\documentclass{siamltex}
\usepackage{hyperref}
\usepackage{lipsum}
\begin{document}

\title{A Test of PDF Bookmarks}
\author{Jane Doe}
\maketitle
\begin{abstract}
  \lipsum[99]
\end{abstract}
\section{Introduction}
\lipsum[1]
\section{Main Ideas}
\lipsum[2]
\section{Conclusions}
\lipsum[3]


\end{document}
tgkolda
  • 704
  • 1
    If this is for submission to a journal, they will not let you make these kinds of modifications. If not, I wonder why you don't use a standard class but you need to load hyperref. – cfr May 08 '15 at 00:45
  • 1
    CFR: Good question. I am modifying the journal style for SIAM itself. My changes will become the new standard. – tgkolda May 08 '15 at 01:07
  • OK. Have you tried hyperref? – cfr May 08 '15 at 01:57
  • @tgkolda: Nice! Will this modification also take care of the problem with pdflatex in the current standard (http://tex.stackexchange.com/questions/183134/how-to-use-latex-template-for-siam-papers/183150#183150)? – Christian Clason May 08 '15 at 07:26
  • @cfr: Apologies - forgot the hyperref line, even with your previous comment. Fixed now. Still no bookmarks with siamltex, however. – tgkolda May 08 '15 at 14:59
  • @ChristianClason: Yes, this will definitely fix the problem with pdflatex! – tgkolda May 08 '15 at 15:00
  • @tgkolda: Excellent news! The problem could just be a missing tocdepth counter -- try adding the line setcounter{tocdepth}{3} somewhere in the class file. – Christian Clason May 08 '15 at 16:40
  • That should be \setcounter{tocdepth}{3}, of course. – Christian Clason May 08 '15 at 16:59
  • I just saw that that the updated macros are now available -- great work (especially for supporting pgfplots)! – Christian Clason Feb 08 '16 at 14:35

1 Answers1

1

Thank you, @ChristianClason, your suggestion worked.

I see now that this is essentially a duplicate of the following question:

PDF bookmarks for sections and subsections with the llncs class

Here is the solution with the suggested extra line:

\documentclass{siamltex}
\usepackage{hyperref}
\setcounter{tocdepth}{3}
\usepackage{lipsum}
\begin{document}

\title{A Test of PDF Bookmarks}
\author{Jane Doe}
\maketitle
\begin{abstract}
  \lipsum[99]
\end{abstract}
\section{Introduction}
\lipsum[1]
\section{Main Ideas}
\lipsum[2]
\section{Conclusions}
\lipsum[3]


\end{document}
tgkolda
  • 704