Package: latex-beamer
Version: 3.07-2
Severity: normal

Hi!

The following latex file fails to compile with both latex and pdflatex:
======================================================================
\documentclass{article}

%fails
\usepackage{beamerarticle}
\usepackage{hyperref}

%works
%\usepackage[noamsthm]{beamerarticle}
%\usepackage{hyperref}

%works
%\usepackage[noamsthm]{beamerarticle}
%\usepackage{amsthm}
%\usepackage{hyperref}

%works
%\usepackage{amsthm}
%\usepackage{hyperref}

%works
%\usepackage{beamerarticle}

\newtheorem{Def}{Definition}

\begin{document}

\begin{Def}
We claim that all problems we ever want to solve can be written in the form
\end{Def}

\end{document}
======================================================================

The error message with latex goes something like
======================================================================
*hyperref using default driver hdvips*
(/usr/share/texmf-texlive/tex/latex/hyperref/hdvips.def
(/usr/share/texmf-texlive/tex/latex/hyperref/pdfmark.def)) (./test.aux)
(/usr/share/texmf-texlive/tex/latex/translator/translator-theorem-dictionary-English.dict)
 (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./test.out)
(./test.out)

Package hyperref Warning: Rerun to get /PageLabels entry.

! Undefined control sequence.
\...@begintheorem ->\bea...@storeaction 
                                     \bea...@origbegintheorem 
l.28 W
      e claim that all problems we ever want to solve can be written in the ...
======================================================================

With pdflatex I get something very similar:
======================================================================
*hyperref using default driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def) (./test.aux)
(/usr/share/texmf/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
(/usr/share/texmf-texlive/tex/latex/translator/translator-theorem-dictionary-English.dict)
 (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (./test.out)
(./test.out)
! Undefined control sequence.
\...@begintheorem ->\bea...@storeaction 
                                     \bea...@origbegintheorem 
l.28 W
      e claim that all problems we ever want to solve can be written in the ...
======================================================================

I included some alternate \usepackage-lines in the testcase as comments, these
all work in the sense that latex finishes successfully (I didn't check whether
they actually produce the desired output in complex situations).

Thanks,
Jö.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages latex-beamer depends on:
ii  latex-xcolor                  2.11-1     Easy driver-independent TeX class 
ii  pgf                           2.00-1     TeX Portable Graphic Format
ii  texlive-latex-base            2009-7     TeX Live: Basic LaTeX packages

latex-beamer recommends no packages.

latex-beamer suggests no packages.

-- no debconf information

-- 
featured product: Debian GNU/Linux - http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to