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 p69Gctdx019945 for ; Sat, 9 Jul 2011 18:38:57 +0200 Received: (qmail 15686 invoked by alias); 9 Jul 2011 16:38:50 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 09 Jul 2011 16:38:50 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx097) with SMTP; 09 Jul 2011 18:38:50 +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 p69GaNGg004368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Jul 2011 18:36:23 +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 p699KIEt029340; Sat, 9 Jul 2011 18:36:22 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1429692 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 9 Jul 2011 18:36:22 +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 p69GaMZn015775 for ; Sat, 9 Jul 2011 18:36:22 +0200 Received: from nm10-vm0.bullet.mail.ne1.yahoo.com (nm10-vm0.bullet.mail.ne1.yahoo.com [98.138.91.72]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with SMTP id p69GaC0f004299 for ; Sat, 9 Jul 2011 18:36:13 +0200 Received: from [98.138.90.54] by nm10.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jul 2011 16:36:12 -0000 Received: from [98.138.226.62] by tm7.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jul 2011 16:36:12 -0000 Received: from [127.0.0.1] by smtp213.mail.ne1.yahoo.com with NNFMP; 09 Jul 2011 16:36:12 -0000 X-Yahoo-Newman-Id: 4416.54598.bm@smtp213.mail.ne1.yahoo.com Received: from [192.168.1.54] (st_philipp@178.27.248.22 with plain) by smtp213.mail.ne1.yahoo.com with SMTP; 09 Jul 2011 09:36:05 -0700 PDT X-Yahoo-SMTP: _jlT6bOswBCTfNEaYibKorijSw14_bs- X-YMail-OSG: DJI90bMVM1km898iL_0TOExkUHrcSO_RmVd.4gG3dWj952x lsIxDAAAI2D2qFlGwXLe7EzhC2.wVTXovFWy1LfaGkqiJ6Nh_f8ml65kD7ZO Z_iZXik7mZQZZoJmIfTu9rUE3PoYyO0_NJF6tQ7hkj1MuKcPbVq.l1Hcqsin mSGmaNLHltH4h3FQ9osDAih16ovXB3ceqLRvOZaOG70_YqhFTLeTZQIs6hUK y9l2OmALszeBdzOi0OjYAIp5_SxqiKqHCwSE.VVfxBzWMxx4.G5zC_Z_8xiz GavuskouHtZy6Rmr._WGgJPoZQAC.0kf4azKFLheX1_AZsZKX_ZlS5rJ3VXI pVslyht.yetciUUJ22H6E X-Yahoo-Newman-Property: ymail-3 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 References: <4E07881C.7060906@web.de> X-Mailer: Apple Mail (2.1084) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id p69GaMZn015776 Message-ID: <7C97AC7C-2BF4-47C9-9170-F080CB34F72B@yahoo.de> Date: Sat, 9 Jul 2011 18:35:50 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Philipp Stephani Subject: Re: [lltx] issue with unicode-math, spanish and LuaLaTeX To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4E07881C.7060906@web.de> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p5A/8mPCXmHe5AE5jO+11kAJafKx/P+jwiNZoKxeKr1IYcx14j/OcJfYqT2r 4m62T4FVirXhbwVNYFUgsQuZN0oa/w0UNVaO3xk/fNOEYZmQjMcbSDDn3vZxvBsm4eTx3z65ORYb YzskXg5QPKdS7AqMCd4RS9Z3VznDWG16tU0u+ta5yCFnTBbPsSl/jYRgk07Md5UnvahHKHCkcU4+ jdQ4Si4xv8UMeo=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: 6792 Am 26.06.2011 um 21:27 schrieb Pablo Rodríguez: > Hi there, > > I have just tried to compile the following sample: > > \documentclass{article} > \usepackage{fontspec} > \setmainfont{Minion Pro} > \usepackage[spanish]{babel} > \usepackage{unicode-math} > \setmathfont{Minion Pro} > \begin{document} > $\frac{27,7}{100\,000}$ en varones > \end{document} > > And it works with XeLaTeX, but not with LuaLaTeX. It seems to have > problems with spanish from babel, but this is a must for me. > > I'm using TL 2010 updated as right now. > > I wonder whether this is a bug or I am missing something. Could anyone > be so kind to tell me what is wrong here? A short update on this: while we can fix this on the lualatex-math/unicode-math end (see the discussion at GitHub), it is only a symptom of a deeper problem, namely that the \mathcode, \mathchardef, \delcode, \radical etc. primitives are deprecated with LuaTeX since they (unlike \char etc.) can't easily be extended to allow Unicode code points. Therefore all packages that make use of any of these primitives need to be fixed. We already have several fixes in the lualatex-math package, but I think the best option would be to fix the package code directly. What do you think about this? Who would be responsible for things like the Babel problem?