[OS X TeX] \caption with MacTeX 2009

Raphael Attie raphael.attie at mac.com
Wed Nov 11 21:09:20 CET 2009


Today i've updated to Mactex 2009 on my Leopard (not Snow). I was  
running Mactex 2007 till now.

Without changing anything to my .tex file, I have trouble with the  
\caption command following the \includegraphics command. See further  
below for the exact usage. It was working fine with Mactex 2007.

The typesetting fails and says :

<./figures/granulation.jpeg, id=1, 684.5575pt x 499.8675pt>
<use ./figures/granulation.jpeg>
! Undefined control sequence.
\captionlabelfont at default ->\cph at font

However, after hitting the return key till it displays the pdf  
preview, the figure and its caption are there, without apparent  
problem. However, any attempt to labeling for reference would fail.

Thanks for your help


------------------------------------------------------

\documentclass[braunschweig]{thesis}
\usepackage{txfonts}
\usepackage{graphicx,fink}
\usepackage{subfig}
\usepackage{epstopdf}
\usepackage{fixltx2e}
\usepackage{float}
\usepackage{caption}

\newcommand{\mets}{m.s\textsuperscript{-1}}

\begin{document}
\chapter{The photosphere in the SoHO-Hinode era}
\section{Tracking the photospheric flows}

blablabla

\begin{figure*}[h]
\centering
\includegraphics[trim=0cm 0cm 0cm 0cm, width=1 \textwidth]{./figures/ 
granulation.jpeg}
\caption{Image in blue continuum of the granulation, from FG-SOT  
(Hinode)}
\end{figure*}	

\end{document}


Raphael Attie
Ph.D Student
Max Planck Institute for Solar System Research
Max Planck Str. 2
37191 Katlenburg-Lindau
Germany






More information about the macostex-archives mailing list