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 p74Bj1Ak009994 for ; Thu, 4 Aug 2011 13:45:13 +0200 Received: (qmail 1299 invoked by alias); 4 Aug 2011 11:44:55 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 04 Aug 2011 11:44:55 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx002) with SMTP; 04 Aug 2011 13:44:55 +0200 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 p74BgNF2023922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Aug 2011 13:42:24 +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 p74Auoa2020836; Thu, 4 Aug 2011 13:42:23 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1558726 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 4 Aug 2011 13:42:23 +0200 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 p74BgNTQ016985 for ; Thu, 4 Aug 2011 13:42:23 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p74BgMaI023905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Aug 2011 13:42:22 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p74BgM69025583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Aug 2011 13:42:22 +0200 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p74BgBmI023781 for ; Thu, 4 Aug 2011 13:42:14 +0200 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QowJP-0002LL-Ux for LATEX-L@URZ.UNI-HEIDELBERG.DE; Thu, 04 Aug 2011 13:42:03 +0200 Received: from pd954b11c.dip.t-dialin.net ([217.84.177.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Aug 2011 13:42:03 +0200 Received: from news3 by pd954b11c.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Aug 2011 13:42:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 32 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd954b11c.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de X-Spam-Flag: No X-Envelope-From: X-Spam-Status: No, hits=-4.20 required=5 tests=AWL,BAYES_00,L_P0F_Linux,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS Message-ID: <1dk0ynxlt2rhe$.dlg@nililand.de> Date: Thu, 4 Aug 2011 13:41:44 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: Prefix of local commands (\xetex_or_luatex_if_engine:) To: LATEX-L@listserv.uni-heidelberg.de Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p6bcXCoXLd2eD4hXfNkt8sS86NmMZ9hxyQUWd9UujHhM4VZw91tn3/27HuwT IjMxSggFTA4/1CZ4vFayFna9PzsV354qYTnh1PXAGY4Cql8QxRIreObLdnijOhU6oQMA/Z+TOrwz KPBv/O+JW/4/awY6cu6HlLffIcrTWdVjlr7deGCDmUkzLqtVCQiRP5D7uJnPTQx/T+YtIB/KaksV OmtSARpDsW3Q6A=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: 6802 l3basics contains \luatex_if_engine:... and \xetex_if_engine:... I would find similar \xetex_or_luatex_if_engine:... quite useful but as it doesn't exist I defined my local one: \documentclass{scrartcl} \usepackage{expl3} \begin{document} \ExplSyntaxOn \prg_new_conditional:Nnn \ufcore_xetex_or_luatex_if_engine: {T, F, TF} {\bool_if:nTF {\c_luatex_is_engine_bool || \c_xetex_is_engine_bool} {\prg_return_true:} {\prg_return_false:} } \ufcore_xetex_or_luatex_if_engine:TF{true}{false} \ExplSyntaxOff \end{document} It seems to work fine. But I'm a bit unsure about the naming of the command. Is the prefix \ufcore OK? -- Ulrike Fischer