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 o0MErg9r003900 for ; Fri, 22 Jan 2010 15:53:43 +0100 Received: (qmail 12608 invoked by alias); 22 Jan 2010 14:53:37 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 22 Jan 2010 14:53:36 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx040) with SMTP; 22 Jan 2010 15:53:36 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o0MEpCZ9010681 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jan 2010 15:51:13 +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 o0LN16M4020043; Fri, 22 Jan 2010 15:51:12 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 386315 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 22 Jan 2010 15:51:12 +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 o0MEpBcq012945 for ; Fri, 22 Jan 2010 15:51:11 +0100 Received: from smtp109.plus.mail.re1.yahoo.com (smtp109.plus.mail.re1.yahoo.com [69.147.102.72]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with SMTP id o0MEp4wC010555 for ; Fri, 22 Jan 2010 15:51:05 +0100 Received: (qmail 24072 invoked from network); 22 Jan 2010 14:51:04 -0000 Received: from g229031021.adsl.alicedsl.de (st_philipp@92.229.31.21 with plain) by smtp109.plus.mail.re1.yahoo.com with SMTP; 22 Jan 2010 06:51:04 -0800 PST X-Yahoo-SMTP: _jlT6bOswBCTfNEaYibKorijSw14_bs- X-YMail-OSG: aYsbqPMVM1lA8CPLJIfKPrXoZmrK3cZep6M3ZxLYFM6WgavIqrNj3rlJAc24Jl2sbh2.nTG7dAINIsqmqj_echZvM2atDJpo.B1AgVvOM1mH9dLxDBo_yop7xUcyerY_HwMgTbr.Tfna32ojSNlfJUTd85ikOR5shx5seeALAzV0mwka.C0aVkmEAkhQEGpa2bGRn6VTi7WVTywFseBU1_mqOX2eD6OnSE474Lj.rZSFIBxO4VqxI7apKbWcoKZ4stjdblCw878Kt7m0XEJwAc9o1NdJ0Ls1_DVBRoe3zeEQXu9i0pn8Iz7gVJxQdyMoOiIYu94LwnHYALDt6fUZSKszLt2x.N_Icr1XldijWKrslq.X97QA8oKrNi42hCDceO3qkr39P58iJWLy88I- X-Yahoo-Newman-Property: ymail-3 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii References: <4B59B86F.8070007@morningstar2.co.uk> X-Mailer: Apple Mail (2.1077) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id o0MEpBcq012946 Message-ID: <06B4B7DE-4CBE-41AB-85F4-B81B120D858C@yahoo.de> Date: Fri, 22 Jan 2010 15:51:02 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Philipp Stephani Subject: Re: Collision between mathtools.sty and expl3 To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4B59B86F.8070007@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p4WX0t+AtsdW0MeYohbkppDOK+m7YvXWdPZLb0glAJGPUFUo/0MXqncIeW2j PEm4dfUKZMonmdS5C7uxwGsl7qmKMPnaGWChO0/XAcHGR2RVQguxHOHEYUeiFezfbduATkk7H8zg phLeJl1shQrbpZlV1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de X-Scanned-By: MIMEDefang 2.63 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 6204 Am 22.01.2010 um 15:38 schrieb Joseph Wright: > 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! Well, you could simply change the definitions to use \cs_set_eq:NN for the moment. The main problem with such collisions is that it creates unnecessary work for users or package writers who want to use expl3 or xparse.