# [OS X TeX] Caption-hyperref conflict

McGarry Vince vmcgarry at austin.rr.com
Sun Jul 15 21:01:01 EDT 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