[texhax] memoir, hyperref, nameref

Victor Ivrii vivrii at gmail.com
Thu Apr 15 12:42:14 CEST 2010


On Thu, Apr 15, 2010 at 4:47 AM, Victor Ivrii <vivrii at gmail.com> wrote:
> 1) At some moment (not sure when, I just noticed, but I presume that
> it have happened on not earlier than last summer)
>
> \nameref command stopped working properly with memoir
>
> \documentclass[12pt]{memoir}
> \usepackage{hyperref}
> \begin{document}
> \section{One}
> \label{sect-1}
> \nameref{sect-1}
> \end{document}
>
>
> produces hyperlink without text (no error returns). With {article}
> everything works fine.
>
> 2)
>
>
> \documentclass[12pt]{article}
> \usepackage{hyperref}
> \begin{document}
> \section{One}
> \label{sect-1}
> \nameref*{sect-1}
> \end{document}
>
> returns text "sect-1" instead of "One" without hyperlink.
>
> Should not \nameref* work as \nameref albeit without hyperlink?
>
> As I never tried this before I am not sure if it ever worked right
>
> Victor
>


I found that examples are fixed by adding \usepackage{nameref} but

1) Example 1 worked before without nameref
2) Still, without nameref package Examples should either work this way
or return errors (IMHO).

Victor


More information about the texhax mailing list