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 o235H4uJ005437 for ; Wed, 3 Mar 2010 06:17:06 +0100 Received: (qmail 29344 invoked by alias); 3 Mar 2010 05:16:59 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 03 Mar 2010 05:16:59 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx067) with SMTP; 03 Mar 2010 06:16:59 +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 o235ER4d018599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Mar 2010 06:14:27 +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 o22N14KD023869; Wed, 3 Mar 2010 06:14:26 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 394653 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 3 Mar 2010 06:14:26 +0100 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 o235EP4N020258 for ; Wed, 3 Mar 2010 06:14:25 +0100 Received: from mail-bw0-f212.google.com (mail-bw0-f212.google.com [209.85.218.212]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o235EBro018499 for ; Wed, 3 Mar 2010 06:14:15 +0100 Received: by bwz4 with SMTP id 4so771527bwz.8 for ; Tue, 02 Mar 2010 21:14:21 -0800 (PST) Received: by 10.204.142.77 with SMTP id p13mr1963079bku.75.1267593261120; Tue, 02 Mar 2010 21:14:21 -0800 (PST) Received: from localhost ([41.238.232.148]) by mx.google.com with ESMTPS id 16sm3465010bwz.1.2010.03.02.21.14.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Mar 2010 21:14:19 -0800 (PST) References: <20100301194054.GA4037@khaled-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Whitelist: Message-ID: <20100303051417.GF3850@khaled-laptop> Date: Wed, 3 Mar 2010 07:14:17 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Khaled Hosny Subject: Re: Babel, LuaTeX and hyphenation 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=5D7Q89H36p4U4jfdfC5HDevlx1X2sAZgP9e9F2VTUYI/FLDAh5vXTUdJ3cb8VrMsthL0D 3Bm5FvGPWoCdLJEm9HLQdq2oZJ1+efgJyyH9QG+8cq1UKQ2Q4e3tC9qRlfvjUoP37QqmdThnkNK6 /QEzQ==V1; 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: 6306 On Tue, Mar 02, 2010 at 11:19:01AM +1030, Will Robertson wrote: > On 02/03/2010, at 6:10 AM, Khaled Hosny wrote: > > > Trying to fix this for Babel, i.e. hyphenation patterns are only loaded > > when requested, I patched hyphen.cfg file to do so when running under > > LuaTeX. It seems to work, as far as my tests go, except that would need > > to explicitly select a language or there will be now hyphenations i.e. > > Bebel don't seem to load any language by default (unlike plain TeX), and > > I'm not sure how to handle this. > > > > Patch is attached for your comments. > > > Without doing any tests myself, this looks fine to me. > (Which of course doesn't mean anything.) > > My only comment for now is that the line > > \ifcsname bbl@l@exceptions@#1\endcsname > > should be better written without assuming eTeX: > > \expandafter\ifx\csname bbl@l@exceptions@#1\endcsname\relax\else OK, attached a new patch. > > I believe this should be integrated into the LaTeX/babel kernel, but > we've still got the problem that the babel test suite has not yet been > integrated into the 2e SVN repository. > > Is there any way around this impasse? For our case, we can install the patched hyphen.cfg under luatex specific path, e.g. tex/luatex/babel/hyphen.cfg. So other engines won't see it meaning less risk for melting the precious latex freeze. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer