[OS X TeX] Caption-hyperref conflict

McGarry Vince vmcgarry at austin.rr.com
Mon Jul 16 03:01:01 CEST 2007


I believe something may have been posted on this before, but I was  
unable to find it. I have the following example:

%------

\documentclass{article}
\usepackage{hyperref}
\usepackage{caption}

\begin{document}
\begin{figure}[htbp]
\centering
This is a test!
\caption[labelformat=empty,labelsep=none]{}
\label{fig:Test}
\end{figure}
\end{document}

%-------

Regardless of the calling order of caption and hyperref, the figure  
number has a colon (:) after it. I don't believe it should. It  
doesn't if hyperref is commented out. Should I call \caption with  
different option(s) when using hyperref to prevent the colon from  
being printed?

Vince McGarry

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list