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 p74HVaM3018332 for ; Thu, 4 Aug 2011 19:31:48 +0200 Received: (qmail 14167 invoked by alias); 4 Aug 2011 17:31:30 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 04 Aug 2011 17:31:30 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx031) with SMTP; 04 Aug 2011 19:31:30 +0200 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 p74HTQ1x026505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Aug 2011 19:29:26 +0200 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 p74EpiBC020836; Thu, 4 Aug 2011 19:29:25 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1569464 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 4 Aug 2011 19:29:25 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p74HTPc7005058 for ; Thu, 4 Aug 2011 19:29:25 +0200 Received: from ueamailgate02.uea.ac.uk (ueamailgate02.uea.ac.uk [139.222.131.185]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p74HT90h026438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Aug 2011 19:29:13 +0200 Received: from ueams01.uea.ac.uk (ueams01.uea.ac.uk [139.222.131.78]) by ueamailgate02.uea.ac.uk (8.13.8/8.13.8) with ESMTP id p74HT9oF001054; Thu, 4 Aug 2011 18:29:09 +0100 Received: from [139.222.32.125] (helo=palladium.local) by ueams01.uea.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1Qp1hr-0004Ya-Ni; Thu, 04 Aug 2011 18:27:40 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 References: <1dk0ynxlt2rhe$.dlg@nililand.de> <4E3ACCF0.5080302@morningstar2.co.uk> X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Bayes-Prob: 0.0041 (Score 0, tokens from: @@RPTN, outgoing) X-CanIt-Geo: ip=139.222.131.78; country=GB; region=I9; city=Norwich; latitude=52.6333; longitude=1.3000; http://maps.google.com/maps?q=52.6333,1.3000&z=6 X-CanItPRO-Stream: UEA:outgoing (inherits from UEA:default,base:default) X-Canit-Stats-ID: 06Fght9iI - 6153fa20482f - 20110804 X-Scanned-By: CanIt (www . roaringpenguin . com) on 139.222.131.185 Message-ID: <4E3AD6D3.5050107@morningstar2.co.uk> Date: Thu, 4 Aug 2011 18:28:51 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Prefix of local commands (\xetex_or_luatex_if_engine:) 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 (eXpurgate); Detail=5D7Q89H36p6bcXCoXLd2eOTYXprnm30FH/rRAw3KcKbwwQw9Owty/A4JmBJ/H4Qe9jtiN Kyu5OzcCic6NmchWmUohzvGHgpSs1bRqGQfyVUcAjKUmuXNLJy0f12abdvIZFKD0EXc3naU6z7er Z+wzuAs5eaM3YgcgCw+9xMeW/3zsURXnl45DqnZqo4DmEMKturjv4sO2o1TATdusx+fqgI4ZYd0M fahV1; 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: 6805 On 04/08/2011 18:10, Ulrike Fischer wrote: > You mean \pdftex_if_engine will give true for all engines with the > exception of xetex + luatex? Even with etex or omega? Only three engines are supported: pdfTeX, XeTeX and LuaTeX, and even then only in sufficiently-new versions. The reason is ultimately that we need \pdfstrcmp or equivalent functionality. (expl3 will bail out if it can't find \pdfstrcmp, \strcmp or Lua to emulate it.) > In this case > it is what I'm after. But why does nobody use it? E.g. siunitx > contains > \xetex_if_engine:F { > \luatex_if_engine:F.... That code was written before \pdftex_if_engine: was added to expl3. I should alter it, I guess. -- Joseph Wright