Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id v3MI6WE6031085 for ; Sat, 22 Apr 2017 20:06:33 +0200 Received: from relay2.uni-heidelberg.de ([129.206.119.212]) by mx-ha.gmx.net (mxgmx106 [212.227.17.5]) with ESMTPS (Nemesis) id 0MGowv-1coX1X2ipt-00DWYM for ; Sat, 22 Apr 2017 20:06:26 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.15.2/8.15.2) with ESMTP id v3MI6KEu030592; Sat, 22 Apr 2017 20:06:20 +0200 Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id C04A8126F22; Sat, 22 Apr 2017 20:06:20 +0200 (CEST) Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 16687837 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sat, 22 Apr 2017 20:06:20 +0200 Delivered-To: LATEX-L@listserv.uni-heidelberg.de Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.119.212]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id B6BDE12689B for ; Sat, 22 Apr 2017 20:06:20 +0200 (CEST) Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) by relay2.uni-heidelberg.de (8.15.2/8.15.2) with ESMTPS id v3MI6FDl030549 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sat, 22 Apr 2017 20:06:18 +0200 Received: by mail-qt0-f179.google.com with SMTP id c45so89521989qtb.1 for ; Sat, 22 Apr 2017 11:06:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=uhs1/lJi+O14B6ogoCSaRkglW+1OSmkvg9w5bic0tfo=; b=Xnx3nskO2pFxs4E24Gys5rZxIk7pXevl5wmZBCUytrBN+N47Aj0DWNkF7c9qPChvF3 yt8SNgRyG1iQyQ9gdnOLKqmy7egaIqykiNGZbTFyPe8fT9XRKmWGmaoY139udL78FUcU di5usfiMXNMEanD3qlacSdzxc1zVAAiEW63p3ojBSGLNNy+GwSIYZu+9Jf2k8FRmTbRw lrHqYwh9DfiyH6R4m0y0wOgt/7PMZeXy9NvCEQd0fseXSKzUlcuDubbb2jm9wa6FddIs aHBQ+iJr7W3onz/HFrXiPycSaZ0CBUkjRLU7z72C03pp1qJ7iiuE01B2Emla4K2K8gFE 8cRQ== X-Gm-Message-State: AN3rC/6/SvVcsnk1sy06xpy74Ol70fQh22pXYz6GIKVLwe10/B/XuyFy 3bMhT89uQG6LTfsZ1BU= X-Received: by 10.200.35.59 with SMTP id a56mr17970180qta.81.1492884375219; Sat, 22 Apr 2017 11:06:15 -0700 (PDT) Received: from [192.168.1.76] (c-69-141-211-196.hsd1.nj.comcast.net. [69.141.211.196]) by smtp.gmail.com with ESMTPSA id j14sm1725977qtj.51.2017.04.22.11.06.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Apr 2017 11:06:14 -0700 (PDT) References: <87h91h7lsa.fsf@fencepost.gnu.org> <710D47B3-391D-42C2-8D5B-B58AB23F29B1@gmx.at> X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Message-ID: <76ba7fdb-921c-ec17-e34c-bd5562b3960e@gmail.com> Date: Sat, 22 Apr 2017 14:06:13 -0400 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Bruno Le Floch Subject: Re: Using d<> and babel with option spanish To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <710D47B3-391D-42C2-8D5B-B58AB23F29B1@gmx.at> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:ITWsgoJok8I=:NrjxtpP5geIUgvDXGsJ3g2hOYU GMRsCyCjQdpv4R0u+5ZM7SOrhCbCsouqn8ylkmQ+VgvK/nX32h4EaH/9iBz8iOtNlQULw7QuP JISqaSXRPBn7OMmycFoA3nJgT7rDKiVofC/2CAoYpw9/YwB0QJdDqFeirpGo4mBGHhxtZxTb4 JphPyiPoWIAIIQN4QfA0llelX86h0h5dNzKfuYnLK+tgjyuhFTn3LZ8adRLJeC9Wuwpe6T9+a TW7cZmOWbOqR3hsa/u8yMbMLUBDnHkqou7PrHOqbihNJkuR8KwJal7Dnw497ce4pnIAk186lk PiW9e0RTXpuDU5gJMCopUf9vrC4hhN6593nLjFBdD1MO/KSqubGI4rbtrJ00OOOS7YbTpXdl4 1GACec5UnlEFOocqL0DWTzXdmsn/8spqx7JML3IrUO0nZszo0qVgSeZrkRFYwdPaIYPKZrDLq 59zxysF3py+hCEEyoj50WR7JyjeIpPssoo0CpvqUDrvcqp1kuIbxDNiTgnzx5EHWTAl6P+EHq x3bYeIgdrFH3zOz23OYCqGg7LhuZ3YGNSSf1lNH0oMMtM/o3qZmQ2hDmK4p6jNNx06PrsC2vG apubcg6Oi7jovTzvItqMDM0bYsdNhiWqnt0PWzt7mH+Fq6vPgGIxiByRyrj+KMwaevEj3dsY3 Iwe0UYaQclQkCqvj3s9AbbI32TgqCUD/ns11NrmCPdzDPWlWLsquKZBbNs0g/KsDnqxNXLeTL ZcQiRjvXDta4G+TtCsyYPiFyP3mfFh+585N/wbd1bjQpyttC3z3Pk7LI62vviQA8mN625eACT ORRXN1qdRuaQ1lePjeRJaHv8qU0QceRJuX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QYGRTWcSdTjkFOd2okQXu/s+0DWVroSMACaPqfzyK qRTn3J1GTkRT60o5jeJXyxjVIRJy+mNrkMeL2nbvPPtpE4NIpfcxwYfZm8VjUvMqnxHfH81YR Mzx1r/+nU9CUIAVD4WW+3iHada45P2ui2qRbxVgM544KKmn+NSE3MwEhDIcUmDBLAnhkJq3mF uByz5iiYC2N9Vs1yzR0q3fqqwTP4+CaBJsxO7pSydXcp4pROQKVG6dGTKkh2UflHwKaOYB2fN gEqstIwy2g== X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7968 The big difference is that l3keys first grabs an argument and then sanitizes "=" and "," inside that argument. Here at some point the command you define must grab an argument delimited by ">". Given how TeX works, we need to know what category code this ">" will have. In principle it could be conceivable to do that depending on the category code of the "<" that started the argument, or depending on the current category code of ">", but that adds quite a lot of complexity to xparse, so I'm not keen on it if there are other ways. What happens if you do your definition \AtBeginDocument? Does babel turn on shorthands too late for that? Bruno On 04/22/2017 11:37 AM, Benedikt Vitecek wrote: > I fear moving the definition is not as easy as I am defining this construction inside a package (sorry for not mentioning this). > Is there a way to do something like the l3keys package which (as far as I understand it) sanitizes the comma and the = sign > (just for < and >)? > > Ben >> Am 21.04.2017 um 19:14 schrieb Frank Mittelbach : >> >> it is more or less what babel does (only after begin document), the point is not that it is difficult to solve his particular problem, for which is is enough to move the definition or to make < active before it or ... the problem I was pointing out is the difficulty of a general interface solution that works out of the box. >> >> Again as such that is not impossible at all, but is much more than an adhoc fix, as I said, there are reasons why babel delays making things active and those reasons need to be taken into account for a general solution. >> >> frank