[texhax] memoir, hyperref, nameref

Lars Madsen daleif at imf.au.dk
Mon Apr 19 00:30:05 CEST 2010


Heiko Oberdiek wrote:
> On Thu, Apr 15, 2010 at 02:41:51PM +0200, Lars Madsen wrote:
> 
>>>> I just updated, it worked before the update and not after the update
>>> Test file, the last page should show "OK" in all nameref links:
>>>
>> [snip]
>>
>>
>> fails miserably
> 
> And what's the problem?
> 
> 

race condition, we use \AtBeginDocument + \@ifpackageloaded{nameref} to 
do our stuff.

It is well known that this may cause a race condition.

I will change memhfixc to use \AtPackageEnd instead. The minimal example 
I posted earlier, seems to do the trick, and your test shows ok on all 
the links

/daleif


More information about the texhax mailing list