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

Bug#388267: problem with subfig and beamer



reassign 388267 latex-beamer
thanks

Dear Till,

I think a Debian user has discovered a bug in beamer.  I'm currently
offline and only checked version 3.06 (and in the worst case, I won't be
able to send this mail before Monday and will be about the third person
to nag on you...).  Anyway, here's my analysis.  The following document:

\documentclass[11pt]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{subfig}


\title{Présentation du logiciel de commande des diffractomètres}
\author{Picca Frédéric-Emmanuel}
\date{26 Septembre 2006, CSE}
\subject{Presentation Programs}
\institute[SOLEIL]{Soleil Synchrotron}


\begin{document}

  \begin{frame}
    \titlepage
  \end{frame}

\end{document}

fails with the error message:

! LaTeX Error: \@makecaption undefined.

Indeed, no file in the beamer package seems to define this macro, only
\beamer@makecaption.  However, according to the LaTeX sources
(source2e.pdf):

,---- File G, ltxfloat.dtx, 62.1
| The document style must define the following.
| ...
| \@makecaption{NUM}{TEXT} :
|           A macro to make a caption, with NUM the value
|           produced by \fnum@... and TEXT the text of the caption.
|           It can assume it's in a \parbox of the appropriate width.
`----

I'm sure this wording is from the old days of LaTeX 2.09, and
documentstyle should in fact be documentclass.

I have no idea what the solution might be, but because of this text I
think it should probably be on beamer's side, not subfig's.


Liebe Grüße, und danke für Beamer,

Frank




--=20
Frank K=FCster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Z=
=FCrich
Debian Developer (teTeX/TeXLive)

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)

Reply to: