Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304551 - dev-texlive/texlive-latex{,recommended}-2009: caption and hyperref don't work together
Summary: dev-texlive/texlive-latex{,recommended}-2009: caption and hyperref don't work...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexis Ballier
URL: http://tug.ctan.org/cgi-bin/ctanPacka...
Whiteboard:
Keywords:
Depends on:
Blocks: 314795
  Show dependency tree
 
Reported: 2010-02-11 13:12 UTC by Martin von Gagern
Modified: 2010-10-24 18:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2010-02-11 13:12:05 UTC
The versions of caption and hyperref shipped with texlive 2009 are incompatible.
\ProvidesPackage{caption}[2009/10/09 v3.1k Customizing captions (AR)]
\ProvidesPackage{hyperref}[2009/12/28 v6.79z Hypertext links for LaTeX]

The latest version of caption, v3.1m, does again work with hyperref v6.79z.


Reproducible: Always

Steps to Reproduce:
Run the following through pdflatex:

\documentclass{article}
\usepackage{caption}
\usepackage{hyperref}
\begin{document}
\begin{figure}
\centering
\rule{2cm}{2cm}
\caption*{a caption}
\end{figure}
\end{document}

Actual Results:  
Black box with two lines of caption
"Figure 1: *"
"a caption"

Messages from pdflatex printed to the command line include:
Package caption Warning: \caption will not be redefined since it's already
(caption)                redefined by a document class or package which is
(caption)                unknown to the caption package.
See the caption package documentation for explanation.


Expected Results:  
Black box with one line of caption:
"a caption"

No warnings printed to pdflatex standard output.


Announcement for caption v3.1l:
This version includes adaptions to the very recent hyperref and nameref 
package versions. Furthermore it should work with the combine document 
class, too.

Announcement for caption v3.1m:
The usage of the subfig package without the hyperref package was broken in 
version 3.1l, fixed
Comment 1 Alexis Ballier gentoo-dev 2010-10-24 18:14:14 UTC
caption 3.1m is in texlive 2010, closing