[Tex/LaTex] Figure references in tufte-book

cross-referencingtufte

With the tufte-book class I cannot get references for figures right.

\documentclass{tufte-book} 
\usepackage{lipsum,blindtext}
\usepackage[demo]{graphicx} % Demo option for MWE without image
\begin{document}

\listoffigures
\newpage
\Blindtext

\begin{marginfigure}
\includegraphics{img1}
\label{fig:l1}
\caption{some image}
\end{marginfigure}
\Blindtext

\begin{marginfigure}
\includegraphics{img2}
\label{fig:l2}
\caption{any other image}
\end{marginfigure}

\end{document}

The entries in the list of figures only refer to the page itself (here the first page).

Best Answer

Apparently the problem is, that the hyperlinks within the pdf do not work properly, although the correct page numbers are displayed in the LoF. A possible solution would be to call tufte-bookwith the option nohyper and to use the package bookmarkinstead of hyperref:

\documentclass[nohyper]{tufte-book} 
\usepackage{lipsum,blindtext}
\usepackage[demo]{graphicx} % Demo option for MWE without image
\usepackage{bookmark}

\begin{document}

\listoffigures
\newpage
\Blindtext

\begin{marginfigure}
\includegraphics{img1}
\label{fig:l1}
\caption{some image}
\end{marginfigure}
\Blindtext

\begin{marginfigure}
\includegraphics{img2}
\label{fig:l2}
\caption{any other image}
\end{marginfigure}

\end{document}
Related Question