[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#368756: tetex-bin: varioref interferes with hyperref's generation of pdf bookmarks in pdflatex



Ralf Stubner wrote:
> On Wed, May 24, 2006 at 13:34 -0400, Nick Lewycky wrote:
> 
>>Here's a testcase. Compare the PDF bookmarks (just open the resulting
>>PDF in Adobe Acrobat) with varioref included and with it commented
>>out.
> 
> [...]
> 
>>\usepackage{hyperref}
>>\usepackage{varioref}
> 
> 
> More interesting: Try this with 
> 
> \usepackage{varioref}
> \usepackage{hyperref}
> 
> which gives correct PDF bookmarks (at least in xpdf). This is documented
> in /usr/share/doc/texmf/latex/hyperref/README.gz, hence I am closing
> this bug. As a general rule: load hyperref as late as possible.

Hm. In my actual document, I got:

! LaTeX Error: Option clash for package hyperref.

Of course, that's because I'm trying to pass [colorlinks] to hyperref.

The option clash is due to \usepackage{html} (I'm trying to get 3
outputs from 1 latex source). I need to use varioref first, hyperref
second and html third, then it works.

Thanks.

Nick Lewycky



Reply to: