[texhax] memoir, hyperref, nameref
Uwe Lueck
uwe.lueck at web.de
Thu Apr 15 16:06:46 CEST 2010
-----Ursprüngliche Nachricht-----
Von: Lars Madsen <daleif at imf.au.dk>
Gesendet: Apr 15, 2010 2:54:25 PM
An: Heiko Oberdiek <oberdiek at uni-freiburg.de>,Victor Ivrii <vivrii at gmail.com>,TeXhax <texhax at tug.org>
Betreff: Re: [texhax] memoir, hyperref, nameref
>> we change the \label contents after nameref, because we emulate titleref
>> and thus otherwise could not get our hands on the title. So the
>> \let\nameref\titleref fixed that problem
>this now fails
>just adding a
>\AtBeginDocument{\typeout{test}}
>at the very end of memhfixc shows that this AtBeginDocument gets
>executed before nameref is even loaded
>This also means that the
>\AtBeginDocument{%
> \@ifpackageloaded{nameref}{\let\nameref\titleref}{}%
>}
>
>is never executed
So try ctan.org/pkg/afterpackage:
\usepackage{afterpackage}
\AfterPackage{nameref}{\let\nameref\titleref}
HTH!? -- Uwe.
More information about the texhax
mailing list