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

Bug#368756: marked as done (tetex-bin: varioref interferes with hyperref's generation of pdf bookmarks in pdflatex)



Your message dated Wed, 24 May 2006 20:53:35 +0200
with message-id <20060524185334.GC26483@thinkpad>
and subject line Bug#368756: tetex-bin: varioref interferes with hyperref's generation of pdf bookmarks in pdflatex
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: tetex-bin
Version: 3.0-16
Severity: normal

A PDF contains "bookmarks" which are a clickable table of
contents. pdflatex will generate these with the "hyperref"
package. However, when the varioref package is also used, it produces
the wrong bookmarks.

Here's a testcase. Compare the PDF bookmarks (just open the resulting
PDF in Adobe Acrobat) with varioref included and with it commented
out.

\documentclass[12pt,letterpaper]{article}

\usepackage{hyperref}
\usepackage{varioref}

\title{Test}
\author{Nick Lewycky}
\date{\today}

\begin{document}
\maketitle

\section{Foo}
\subsection{Foo A}
\section{Bar}
\subsection{Bar A}
\section{Baz}
\subsection{Baz A}

\end{document}

Thanks,
Nick Lewycky

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.6
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0]     1.5.1          Debian configuration management sy
ii  debianutils               2.16.1         Miscellaneous utilities specific t
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
ii  dpkg                      1.13.19        package maintenance system for Deb
ii  ed                        0.2-20         The classic unix line editor
ii  libc6                     2.3.6-9        GNU C Library: Shared libraries
ii  libfontconfig1            2.3.2-5.1      generic font configuration library
ii  libfreetype6              2.2.1-2        FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.1.0-4      GCC support library
ii  libice6                   1:1.0.0-3      X11 Inter-Client Exchange library
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libkpathsea4              3.0-16         path search library for teTeX (run
ii  libpaper1                 1.1.17         Library for handling paper charact
ii  libpng12-0                1.2.8rel-5.1   PNG library - runtime
ii  libpoppler0c2             0.4.5-4        PDF rendering library
ii  libsm6                    1:1.0.0-4      X11 Session Management library
ii  libstdc++6                4.1.0-4        The GNU Standard C++ Library v3
ii  libt1-5                   5.1.0-2        Type 1 font rasterizer library - r
ii  libx11-6                  2:1.0.0-6      X11 client-side library
ii  libxaw7                   1:1.0.1-5      X11 Athena Widget library
ii  libxext6                  1:1.0.0-4      X11 miscellaneous extension librar
ii  libxmu6                   1:1.0.1-3      X11 miscellaneous utility library
ii  libxp6                    1:1.0.0-1      X Printing Extension (Xprint) clie
ii  libxpm4                   1:3.5.4.2-3    X11 pixmap library
ii  libxt6                    1:1.0.0-5      X11 toolkit intrinsics library
ii  mime-support              3.36-1         MIME files 'mime.types' & 'mailcap
ii  perl                      5.8.8-4        Larry Wall's Practical Extraction 
ii  sed                       4.1.5-1        The GNU sed stream editor
ii  tetex-base                3.0-17         Basic library files of teTeX
ii  ucf                       2.0010         Update Configuration File: preserv
ii  zlib1g                    1:1.2.3-11     compression library - runtime

Versions of packages tetex-bin recommends:
ii  libxml-parser-perl           2.34-4      Perl module for parsing XML files
ii  perl-tk                      1:804.027-4 Perl module providing the Tk graph
ii  psutils                      1.17-21     A collection of PostScript documen

Versions of packages tetex-base depends on:
ii  dpkg                          1.13.19    package maintenance system for Deb
ii  tex-common                    0.23       Common infrastructure for using an
ii  ucf                           2.0010     Update Configuration File: preserv

Versions of packages tetex-extra depends on:
ii  dpkg                          1.13.19    package maintenance system for Deb
ii  tetex-base                    3.0-17     Basic library files of teTeX
ii  ucf                           2.0010     Update Configuration File: preserv

-- debconf information:
  tetex-base/olddat: true
  tetex-base/fmtutil-failed:
* tetex-bin/cnf_name:
  tetex-bin/texmf: true
  tetex-base/oldcfg: true
  tetex-base/oldupdm:
  tetex-base/updmap-failed:


--- End Message ---
--- Begin Message ---
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.

cheerio
ralf

--- End Message ---

Reply to: