Dear lyx-users,

seminar.cls has a bug that prevents proper working with the "a4paper"
option. (Option "a4" works).

The bug prevents use of seminar as doctype from LyX together with the
geometry package and a4 option, as LyX inserts:

\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=1cm,bmargin=1cm,lmargin=2cm,rmargin=2cm}

and subsequentely, LaTeX reports an "! Undefined control sequence." error

I wonder, whether the prosper package built on seminar is affected too...

As seminar.cls is no longer maintained by the author, fixing it upstream
is nontrivial. I filed a bug to the the Debian maintainer of tetex-extra
Frank Küster and got a prompt response inclusive improved patch:

--- tetex-base-2.0.2/texmf/tex/latex/seminar/seminar.cls.orig   Wed Dec 10
+14:58:57 2003
+++ tetex-base-2.0.2/texmf/tex/latex/seminar/seminar.cls        Wed Dec 10
+15:03:13 2003
@@ -79,7 +79,7 @@
   \paperheight 297mm
   \slidewidth 222mm
   \slideheight 152mm\relax}
[EMAIL PROTECTED]
+\DeclareOption{a4paper}{\csname [EMAIL PROTECTED]
 \DeclareOption{semrot}{\AtEndOfClass{\input{semrot.sty}}}
 \DeclareOption{semhelv}{\AtEndOfClass{\input{semhelv.sty}}}
 \DeclareOption{semcolor}{\AtEndOfClass{\input{semcolor.sty}}}


Günter


-- 
G.Milde at web.de

Reply via email to