[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#223549: marked as forwarded (tetex-extra: seminar doesnot work with option a4paper)



Your message dated Wed, 10 Dec 2003 15:17:58 +0100
with message-id <877k14sqnd.fsf@alhambra.bioz.unibas.ch>
has caused the Debian Bug report #223549,
regarding tetex-extra: seminar doesnot work with option a4paper
to be marked as having been forwarded to the upstream software
author(s) Timothy Van Zandt <tvz@princeton.edu>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 223549-forwarded) by bugs.debian.org; 10 Dec 2003 14:27:03 +0000
>From frank@kuesterei.ch Wed Dec 10 08:27:02 2003
Return-path: <frank@kuesterei.ch>
Received: from balu1.urz.unibas.ch [131.152.1.51] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AU5AH-0003jb-00; Wed, 10 Dec 2003 08:18:09 -0600
Received: from alhambra.bioz.unibas.ch (bioz6-allgem17.bioz.unibas.ch [131.152.17.45])
	by balu1.urz.unibas.ch (8.12.10/8.12.10) with ESMTP id hBAEI8Mm025802;
	Wed, 10 Dec 2003 15:18:08 +0100
Received: from localhost ([127.0.0.1] helo=alhambra.bioz.unibas.ch)
	by alhambra.bioz.unibas.ch with esmtp (Exim 3.35 #1 (Debian))
	id 1AU5A7-0007Nf-00; Wed, 10 Dec 2003 15:17:59 +0100
To: Timothy Van Zandt <tvz@princeton.edu>
Cc: 223549-forwarded@bugs.debian.org,
        =?iso-8859-15?q?G=FCnter_Milde?=
 <g.milde@web.de>
Subject: seminar doesnot work with option a4paper (was: Bug#223549:
 tetex-extra: seminar doesnot work with option a4paper)
Reply-to: frank@kuesterei.ch
Sender: frank.kuester@unibas.ch
X-Attribution: fant
X-Ehrenamt: http://www.langau.de
From: frank@kuesterei.ch (=?iso-8859-15?q?Frank_K=FCster?=)
In-Reply-To: <[🔎] E1AU28l-0000aZ-00@localhost> (
 =?iso-8859-15?q?G=FCnter_Milde's_message_of?= "Wed, 10 Dec 2003 12:04:19
 +0100")
References: <[🔎] E1AU28l-0000aZ-00@localhost>
Date: Wed, 10 Dec 2003 15:17:58 +0100
Message-ID: <877k14sqnd.fsf@alhambra.bioz.unibas.ch>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable
Delivered-To: 223549-forwarded@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=FOOASDF,HAS_BUG_NUMBER 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: 

Hello Timothy,

a user of seminar.cls has reported a bug in seminar.cls to our Debian
Bugtracking System: While the option a4 works, a4paper doesn't. This is
problematic if it is combined with geometry.sty.

A minimal document would be:

\documentclass[a4paper]{seminar}

\begin{document}
foo
\end{document}

> and subsequentely, LaTeX reports an=20
>  ! Undefined control sequence.=20
> error
>

The user suggested the following workaround:

> An ugly workaround is=20
>
> -- /usr/share/texmf/tex/latex/seminar/seminar.cls~	2003-12-09 08:52:38.00=
0000000 +0100
> ++ /usr/share/texmf/tex/latex/seminar/seminar.cls	2003-12-09 08:38:42.000=
000000 +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 co=
mmand)
> % \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}}}

G=FCnter, numbers are allowed in commands, you just can't use them the
simple way. So the following fix would perhaps be easier:

--- 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:1=
3 2003
@@ -79,7 +79,7 @@
   \paperheight 297mm
   \slidewidth 222mm
   \slideheight 152mm\relax}
-\DeclareOption{a4paper}{\ds@a4}%
+\DeclareOption{a4paper}{\csname ds@a4\endcsname}%
 \DeclareOption{semrot}{\AtEndOfClass{\input{semrot.sty}}}
 \DeclareOption{semhelv}{\AtEndOfClass{\input{semhelv.sty}}}
 \DeclareOption{semcolor}{\AtEndOfClass{\input{semcolor.sty}}}

Thank you, G=FCnter, for contributing, and thanks to Timothy for your
seminar class!

Bye, Frank
--=20
Frank K=FCster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie



Reply to: