Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Thu, 15 May 2008 16:38:24 +0200 Received: by mail.proteosys.com (8.13.8/8.13.8) with ESMTP id m4FEcMdI023570 for ; Thu, 15 May 2008 16:38:22 +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 m4FEXF1g002889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 May 2008 16:33:16 +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 m4FE61dI025894; Thu, 15 May 2008 16:33:13 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 4550 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 15 May 2008 16:33:13 +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 m4FEXDUq032597 for ; Thu, 15 May 2008 16:33:13 +0200 Received: from mail.quinscape.de (mail.quinscape.de [212.29.44.217]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id m4FEWcM4002196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 15 May 2008 16:32:46 +0200 Received: (qmail-ldap/ctrl 7490 invoked from network); 15 May 2008 14:32:36 -0000 Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by quinx.quinscape.de (qmail-ldap-1.03) with SMTP for ; 15 May 2008 14:32:35 -0000 Received: by lola.quinscape.zz (Postfix, from userid 1001) id D2B948EEBA; Thu, 15 May 2008 16:32:35 +0200 (CEST) References: <85BC623C-4952-4585-BC7E-4B3F75CA5A10@gmail.com> <1A8B3E0C-24D3-4D27-A649-395D2035FB34@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiVirus: checked by AntiVir MailGate (version: 2.1.3-2; AVE: 7.8.0.17; VDF: 7.0.4.43; host: quinx) Message-ID: <867idv1vuk.fsf@lola.quinscape.zz> Date: Thu, 15 May 2008 16:32:35 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: David Kastrup Subject: Re: Replacing inputenc for XeTeX/LuaTeX To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <1A8B3E0C-24D3-4D27-A649-395D2035FB34@gmail.com> (Will Robertson's message of "Thu, 15 May 2008 23:55:37 +0930") Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -2.599 () BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 15 May 2008 14:38:24.0991 (UTC) FILETIME=[54DA66F0:01C8B699] Status: R X-Status: X-Keywords: X-UID: 5204 Will Robertson writes: >> ? If so, is there a simple implementation of \ifThisIsXeTeX ? > > Pretty much, yes. > > The ifxetex package provides \ifxetex (simply by checking for the > presence of \XeTeXversion). > > Here's some code that does approximately the right thing: (intended to > be a self-contained package in a XeTeX-exclusive search path to > override the normal inputenc.sty) > > %%%%%%%%%%%%%%%%%%%%%%%%%%%% > \ProvidesPackage{inputenc} > [2008/05/15 v0.1 XeTeX-specific inputenc package] > \typeout{% > Loading a XeTeX-specific package to > override LaTeX's inputenc package.} > \RequirePackage{ifxetex} > \RequireXeTeX We would not want to have an external package dependency like that if we wanted to make this part of the LaTeX base package. So we would likely check for \XeTeXversion ourselves here. Also we would not want to go over Jonathan's head here: are you in contact with him? We certainly would want to provide a solution that does not mess up his plans and the typical use cases of XeTeX users. -- David Kastrup