When I compile the following code in XeLaTeX (also works with pdflatex) under windows, [containsverbatim] shows up in the ouput:

Here is the code:
\documentclass{book}
\usepackage{showexpl}
\usepackage[frenchb]{babel}
\usepackage[T1]{fontenc}
\usepackage[top=5cm, bottom=5cm, left=6cm, right=3cm]{geometry}
\lstloadlanguages{[LaTeX]Tex}
\lstset{%
basicstyle=\ttfamily\small,
commentstyle=\itshape\ttfamily\small,
showspaces=false,
showstringspaces=false,
breaklines=true,
breakautoindent=true,
captionpos=t
}
\begin{document}
\begin{frame}[containsverbatim] %Problem here
\begin{LTXexample}
\chapter{Good buy}
\section{haha}
lorem ipsum dolor si amet...lorem ipsum dolor si amet...lorem ipsum dolor si amet...lorem ipsum dolor si amet...lorem ipsum dolor si amet...lorem ipsum dolor si amet...
\end{LTXexample}
\end{frame}
\end{document}
When I don't add [containsverbatim] it still works, but it leaves an annoying dot:

I'm surely doing something wrong here, so I appreciate any help.

frameenvironment is proper ofbeamer, not ofbook(where\framedoes a very different thing). There's no mention ofcontainsverbatimin thebeamermanual, though. – egreg Mar 18 '12 at 14:46\usepackage{showexpl}suppose to do? – yannisl Mar 18 '12 at 14:50containsverbatimis I think an old option forbeamer: it's there in the code, butfragileis the supported option name. – Joseph Wright Mar 18 '12 at 14:55