[texhax] memoir, hyperref, nameref
Victor Ivrii
vivrii at gmail.com
Thu Apr 15 14:25:43 CEST 2010
Heiko, when I found \nameref problem with memoir I decided to test it
a bit more and found not only \nameref* problem but also discrepancy
between \ref and \nameref.
In this example \ref returns theorem number but \nameref ignores
theorem and returns section name. Logically one should expect "Great
Theorem"?
Victor
\documentclass[12p]{article}
\usepackage{hyperref}
\usepackage{nameref}
\usepackage{amsthm}
\newtheorem{theorem}{theorem}
\begin{document}
\section{One}
\label{sect-1}
\begin{theorem}[Great Theorem]\label{th-1}
$1+1=2$
\end{theorem}
\ref{th-1}
\nameref{th-1}
\end{document}
More information about the texhax
mailing list