Bug#223549: tetex-extra: seminar doesnot work with option a4paper
Package: tetex-extra
Version: 2.0.2-5
Severity: normal
Tags: patch
seminar.cls has a bug that prevents proper working with the "a4paper"
option. The option "a4" works.
The bug prevents use of seminar as doctype from LyX together with the
geometry package, 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
An ugly workaround is
--- /usr/share/texmf/tex/latex/seminar/seminar.cls~ 2003-12-09 08:52:38.000000000 +0100
+++ /usr/share/texmf/tex/latex/seminar/seminar.cls 2003-12-09 08:38:42.000000000 +0100
@@ -79,7 +79,14 @@
\paperheight 297mm
\slidewidth 222mm
\slideheight 152mm\relax}
-\DeclareOption{a4paper}{\ds@a4}%
+% this triggers ! Undefined control sequence. (No numbers allowed in a command)
+% \DeclareOption{a4paper}{\ds@a4}%
+% therefore I redefine it
+\DeclareOption{a4paper}{%
+ \paperwidth 210mm
+ \paperheight 297mm
+ \slidewidth 222mm
+ \slideheight 152mm\relax}
\DeclareOption{semrot}{\AtEndOfClass{\input{semrot.sty}}}
\DeclareOption{semhelv}{\AtEndOfClass{\input{semhelv.sty}}}
\DeclareOption{semcolor}{\AtEndOfClass{\input{semcolor.sty}}}
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux horst 2.4.18-k6 #1 Sun Apr 14 12:43:22 EST 2002 i586
Locale: LANG=de_DE, LC_CTYPE=de_DE
Versions of packages tetex-extra depends on:
ii dpkg 1.10.18 Package maintenance system for Deb
ii gsfonts 6.0-2.1 Fonts for the ghostscript interpre
ii perl-tk 1:800.024-1.1 Perl module providing the Tk graph
ii tetex-base 2.0.2-5 Basic library files of teTeX
ii tetex-bin 2.0.2-5 The teTeX binary files
-- no debconf information
Reply to: