Return-Path: Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id o0MEgbAK003210 for ; Fri, 22 Jan 2010 15:42:39 +0100 Received: (qmail 22344 invoked by alias); 22 Jan 2010 14:42:32 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 22 Jan 2010 14:42:31 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx004) with SMTP; 22 Jan 2010 15:42:31 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o0MEcq12031666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jan 2010 15:38:52 +0100 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o0LN16K2020043; Fri, 22 Jan 2010 15:38:48 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 385705 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 22 Jan 2010 15:38:48 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id o0MEcmZr010510 for ; Fri, 22 Jan 2010 15:38:48 +0100 Received: from ueamailgate01.uea.ac.uk (ueamailgate01.uea.ac.uk [139.222.131.184]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o0MEcbQR028805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 22 Jan 2010 15:38:41 +0100 Received: from ueams02.uea.ac.uk (ueams02.uea.ac.uk [139.222.131.131]) by ueamailgate01.uea.ac.uk (8.13.1/8.13.1) with ESMTP id o0MEcbxO009393 for ; Fri, 22 Jan 2010 14:38:37 GMT Received: from [139.222.203.78] by ueams02.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NYKej-000614-96; Fri, 22 Jan 2010 14:38:37 +0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Canit-CHI2: 0.28 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, outgoing) X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 40778950 - 7ebe45ef3588 X-Scanned-By: MIMEDefang 2.63 on 85.214.41.38 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.131.184 Message-ID: <4B59B86F.8070007@morningstar2.co.uk> Date: Fri, 22 Jan 2010 14:38:39 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Collision between mathtools.sty and expl3 To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6syHa+enbzd/mOn42FjXcNIk5JEEJzK27MwOrTiP+Juu/rJEm XIa7A3IZGa7RPU/V1hL5ENNWelJJBqL+q3qJNuiCJ9rxw9RPTjfBFWyo+reZzSL81XhF1v4pCH+L UGZvZpj+jKB+QO+V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6203 On 22/01/2010 14:20, Philipp Stephani wrote: > Hello, > > mhsetup.sty (included by mathtools.sty) defines a few macros that expl3 wants to define anew, resulting in error messages. > > \documentclass{minimal} > \usepackage{mathtools}% or mhsetup > \usepackage{expl3}% error > \begin{document} > \null > \end{document} > > This results in the following errors: > > % This is a LaTeX bug: check coding! > % ! Command name `\if_num:w' already defined! Current meaning: \ifnum. > % \msg_kernel_bug:x ...oding!}\tex_errmessage:D {#1} > % > % l.56 \cs_new_eq:NN \if_num:w > % \tex_ifnum:D > > % This is a LaTeX bug: check coding! > % ! Command name `\if_case:w' already defined! Current meaning: \ifcase. > % \msg_kernel_bug:x ...oding!}\tex_errmessage:D {#1} > % > % l.57 \cs_new_eq:NN \if_case:w > % \tex_ifcase:D > > % ! This is a LaTeX bug: check coding! > % ! Command name `\if_dim:w' already defined! Current meaning: \ifdim > % > % For immediate help type H. > % ... > % > % l.169 \cs_new_eq:NN \if_dim:w > % \tex_ifdim:D > > The macros \if_num:w, \if_dim:w, and \if_case:w are defined using \cs_new_eq:NN. Maybe you want to change this into \cs_set_eq:NN, or fix mhsetup.sty accordingly. > > Regards, > Philipp > Hello Philipp, This is because Morten's stuff has up to now used it's own expl3-like stuff internally. The team as a whole can't change things, unless of course Morten deputises the job to someone! -- Joseph Wright