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

Bug#179339: marked as done (pxfonts.sty doesn't cooperate with AMS LaTeX)



Your message dated Sun, 30 Nov 2003 19:23:40 +0100
with message-id <20031130182340.GA7740@daedalus>
and subject line pxfonts bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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 submit) by bugs.debian.org; 1 Feb 2003 16:42:38 +0000
>From markus@daedalus.ibp.de Sat Feb 01 10:42:37 2003
Return-path: <markus@daedalus.ibp.de>
Received: from immisch2.linux.provi.de (daedalus) [194.77.67.146] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18f0iy-0006j9-00; Sat, 01 Feb 2003 10:42:37 -0600
Received: from markus by daedalus with local (Exim 3.35 #1 (Debian))
	id 18f0kV-0001l1-00; Sat, 01 Feb 2003 17:44:11 +0100
From: Markus Redeker <cep@ibp.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pxfonts.sty doesn't cooperate with AMS LaTeX
X-Mailer: reportbug 1.50
Date: Sat, 01 Feb 2003 17:44:11 +0100
Message-Id: <E18f0kV-0001l1-00@daedalus>
Sender: Markus Redeker <markus@daedalus.ibp.de>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.6 required=5.0
	tests=SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: pxfonts
Version: 1.0+1-5
Severity: normal

pxfonts.sty and amsmath.sty both define some font symbols (like \iint), and
they both use \newcommand for it. As a result, independent of the order in
which the packages are loaded, \newcommand complains that a command is
already defined. (One cannot simply omit amsmath.sty since it defines more
than just font symbols.)

As a workaround, I load psfonts.sty first and then write:

\let\oldnewcommand=\newcommand
\let\newcommand=\providecommand
\usepackage{amsmath}
\let\newcommand=\oldnewcommand

This way, in amsmath.sty, all definitions of a control sequence that already
exists, are ignored. A better method would be, of course, if pxfonts.sty
defined the conflicting symbols with \def instead of \newcommand. This would
make it possible to load pxfonts.sty after amsmath.sty and let it overwrite
the symbol definitions.

(The whole thing is of course an upstream issue. But I want to document it
ad provide a workaround.)

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux daedalus 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686
Locale: LANG=de_DE.ISO-8859-1, LC_CTYPE=de_DE.ISO-8859-1

Versions of packages pxfonts depends on:
ii  gsfonts               6.0-2              Fonts for the ghostscript interpre
ii  tetex-base            1.0.2+20011202-2   basic teTeX library files
ii  tetex-bin             1.0.7+20011202-7.1 teTeX binary files
ii  txfonts               3.1+2-7            Times-likes font for TeX.


---------------------------------------
Received: (at 179339-done) by bugs.debian.org; 30 Nov 2003 18:24:39 +0000
>From cep@ibp.de Sun Nov 30 12:24:39 2003
Return-path: <cep@ibp.de>
Received: from hmbg-d9b8a287.pool.mediaways.net (daedalus) [217.184.162.135] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AQWFK-0003w1-00; Sun, 30 Nov 2003 12:24:38 -0600
Received: from markus by daedalus with local (Exim 3.35 #1 (Debian))
	id 1AQWEO-00024b-00
	for <179339-done@bugs.debian.org>; Sun, 30 Nov 2003 19:23:40 +0100
Date: Sun, 30 Nov 2003 19:23:40 +0100
From: Markus Redeker <cep@ibp.de>
To: 179339-done@bugs.debian.org
Subject: pxfonts bug
Message-ID: <20031130182340.GA7740@daedalus>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Sender: Markus Redeker <cep@ibp.de>
Delivered-To: 179339-done@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=0.0 required=4.0 tests=none autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2003_11_20
X-Spam-Level: 

I consider this bug to be fixed.

-- 
Markus Redeker | cep@ibp.de                                 Hamburg, Germany



Reply to: