I made a table of content with clickable links. Links to chapters and sections work fine: when I click on them I see the chapter title and its content. On the other hand, when I click to the list of figures, tables and content itself, I get to the text of the list rather then see the whole page with the title "List of Figures".
Can I get 'list of figure' behave in the same way of chapters?
EDIT: it might be a problem on how I compile the code as other users with the same pdf viewer say it already works as I would like.
Here's a code sample.
\documentclass{book}
\usepackage{color}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
citecolor=black,
filecolor=black,
linkcolor=blue,
urlcolor=black
}
\begin{document}
\tableofcontents
\addcontentsline{toc}{chapter}{Content}
\newpage ~
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\newpage ~
\chapter{Intro}
\begin{figure}
\caption{Bla Bla}
\label{fig:bla}
\end{figure}
\newpage ~
\chapter{Related}
\begin{table}[hb]
\caption{Boh}
\begin{tabular}{|l|l|r|}
\end{tabular}
\label{tab:boh}
\end{table}
\end{document}
\addcontentslinecommands. – Thorsten Donig Sep 02 '13 at 14:43\listoffigures. Can you please add to your question as an edit the code modifying the command? – Gonzalo Medina Sep 02 '13 at 17:31