# [pdftex] pdflatex+seminar+overlay

Rolf Backofen (2) backnet at horace.tcs.informatik.uni-muenchen.de
Wed Feb 28 14:54:13 CET 2001

Hello,

I'm trying to use the seminar documentclass with pdflatex, and everything
works well except the overlay environment of seminar. There is only one single
page produced containing all overlays in one. Is there a replacement for
semlayer that works with pdflatex and seminar, or what else must be done?

Here is a short example texfile showing the problem.
I would be grateful for any hints.

Rolf

\documentclass[a4,semhelv,semlayer]{seminar}

\usepackage[pdftex]{color,graphicx}
\usepackage[pdftex]{basiccolors}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% Fix for pdflatex
\newif\ifpdf
\ifx\pdfoutput\undefined
\pdffalse % we are not running PDFLaTeX
\else
\pdfoutput=1 % we are running PDFLaTeX
\pdftrue
\fi

\ifpdf
\pdfpagewidth=297truemm % your milage may vary....
%                ^^^^
\pdfpageheight=210truemm
\pdfhorigin=1truein     % default value(?), but doesn't work without
\pdfvorigin=1truein     % default value(?), but doesn't work without
\fi
%%% End of fix
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}
\DeclareGraphicsExtensions{.jpg,.png,.pdf}
\begin{slide}
\begin{itemize}
\item This should be on the first slide of the overlay
\item
\begin{overlay}{1}
and this should be on the first overlay
\end{overlay}
\end{itemize}
\end{slide}

\end{document}