Michael Schneider
2011-11-28 14:50:58 UTC
Hi!
I am using the LNCS (Lecture Notes in Computer Science) document class
in version 2.17, together with the hyperref package, using pdflatex.
The LNCS class file is available from
<ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip>
When using hyperref with the standard "article" class, the Acrobat PDF
viewer shows me the document outline (sections, subsections, etc.) as
a tree of bookmarks. However, when I switch to class "llncs", then the
outline is not shown anymore, only the document title is shown. I
wasn't able so far to make the outline appear.
Below, you find a full example showing the problem. You additionally
need the file "llncs.cls" from the link shown above. If you change the
document class to "article", then you will see the document outline in
Acrobat. Any ideas?
Cheers,
Michael
<<< START LATEX DOCUMENT >>>
\documentclass{llncs}
%\documentclass{article}
\usepackage[english]{babel}
\usepackage[pdftex]{hyperref}
% ==================== PDF Information ===================
\hypersetup{pdftitle={Title}}
\hypersetup{pdfauthor={My Self}}
% ========== TITLE ==========
\title{My Title}
\author{My Self}
% ========== BODY ==========
\begin{document}
\maketitle
\begin{abstract}
My abstract.
\end{abstract}
\section{A Section}
My contents.
\section{Another Section}
Bla.
\end{document}
<<< STOP LATEX DOCUMENT >>>
I am using the LNCS (Lecture Notes in Computer Science) document class
in version 2.17, together with the hyperref package, using pdflatex.
The LNCS class file is available from
<ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip>
When using hyperref with the standard "article" class, the Acrobat PDF
viewer shows me the document outline (sections, subsections, etc.) as
a tree of bookmarks. However, when I switch to class "llncs", then the
outline is not shown anymore, only the document title is shown. I
wasn't able so far to make the outline appear.
Below, you find a full example showing the problem. You additionally
need the file "llncs.cls" from the link shown above. If you change the
document class to "article", then you will see the document outline in
Acrobat. Any ideas?
Cheers,
Michael
<<< START LATEX DOCUMENT >>>
\documentclass{llncs}
%\documentclass{article}
\usepackage[english]{babel}
\usepackage[pdftex]{hyperref}
% ==================== PDF Information ===================
\hypersetup{pdftitle={Title}}
\hypersetup{pdfauthor={My Self}}
% ========== TITLE ==========
\title{My Title}
\author{My Self}
% ========== BODY ==========
\begin{document}
\maketitle
\begin{abstract}
My abstract.
\end{abstract}
\section{A Section}
My contents.
\section{Another Section}
Bla.
\end{document}
<<< STOP LATEX DOCUMENT >>>