Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t7RAcP4o000373 for ; Thu, 27 Aug 2015 12:38:26 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx013) with ESMTPS (Nemesis) id 0M7DCI-1YXslR2NMs-00x7UA for ; Thu, 27 Aug 2015 12:38:20 +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 t7RAYHOj009258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Aug 2015 12:34:17 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7R7lDd3009966; Thu, 27 Aug 2015 12:34:17 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12520154 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 27 Aug 2015 12:34:17 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7RAYGDu007344 for ; Thu, 27 Aug 2015 12:34:16 +0200 Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t7RAYBMT005156 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Thu, 27 Aug 2015 12:34:14 +0200 Received: by iods203 with SMTP id s203so51811037iod.0 for ; Thu, 27 Aug 2015 03:34:11 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.107.10.162 with SMTP id 34mr9018565iok.139.1440671650693; Thu, 27 Aug 2015 03:34:10 -0700 (PDT) Received: by 10.36.81.201 with HTTP; Thu, 27 Aug 2015 03:34:10 -0700 (PDT) References: <55DBB7F6.1070307@clear.net.nz> <55DABA1D.3050706@morningstar2.co.uk> <55DCFDF7.7080305@clear.net.nz> <55DC05BF.1040505@morningstar2.co.uk> <55DC28E8.9090405@morningstar2.co.uk> <55DDFD0A.4000901@clear.net.nz> <55DDACCB.1070104@morningstar2.co.uk> <55DF523F.2050905@clear.net.nz> Content-Type: text/plain; charset=UTF-8 Message-ID: Date: Thu, 27 Aug 2015 12:34:10 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Bruno Le Floch Subject: Re: Catcode changes To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <55DF523F.2050905@clear.net.nz> 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:rZ7G1vErdfk=:frBbEH8iw3qUyydH39zYXsoDfM 3dz10QCVKu/dXL95YJGEbyQ3IFw0S5SDkF9jB1VtwfJHyNuwBiDYbX2PRBNyl13qFNdMe732Q Zq7lq3mIg8Cn29dufAVEtMIltAXY8E86+fYq4x23sUuGGjIDKXqwGpEQ4edO9zLDUOSjheVs+ kto+9BHxHxyEJgD1D8Mn3JQCAP9f+bnjGIlgZC5/+q7P3QQobTVrQKkv7Kz47U3FHh6xtnaRX Wgu5zlMhuMuLiG2EDNsPMKLJ41fOEZVUjKX00wkv/5o9fOdNRldPg1D9a+c7Sexr75OgqofFK v5IulW2SBh++WtURwFCNXCvt7C61N7jJm5iXsOmrJy+evm2wGqN8yIKSmYUJL8qi3JsWojDMq hayP0bb7gqjqXDgEw+qd2+YYqQuDuNEk6ytaGEdKWrHQRS4T+GqznQDh4N5r0BmK/0zt/h3+q 4T+wOBAQLR/9P9c5CsEqXgroPnyKeU41YdA/hToGOlEccq+aQju9MseGom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ZrZKvSmXPeFPQBCekT/EmiE= X-UI-Out-Filterresults: notjunk:1;V01:K0:nAvq02Y8/Gg=:8TrTbJACDdKtj5ug4eeDSq JbJ3sqtzPKua06rIBJ2jeKM7aihRKlposoJMhFSQSMHGn19xtBS1UZhfZ6e0WnZUureYEyRtZ vpITwI43BTcpMoShtZZUE9MhUf85Y/4xatTWC9czzJDeJXzXV+GopCpPUuxTabfRIDz+1yQui sdENmmbOGKy9y9hHZEFW6qsERabEdRZJHZDKBq7apGc/K/pRf0IQ7TydlCDr3Q+mZvCwutRs5 y7fb5cZKqyxbetXF0fhVG0rlG6yDeT8SBWhJlCHBjaiXlPSRr4i2ceW0I7WPPUeWdobJLSAhF lwaaYWwxUYi8lvh6eYXJ0jbkJ86k014j971WzaAj8IAarh8hn8sKUCp8UeqVd1BRG4zv4XGre 6CaG09ZlzDkfmLF2mTSsH+LgNZmpgqIRSlUvAlqVoy3ZE8OxLlYFOaEtDGghxeJCY/ePssU7U uDn7PB7WOx8xMXhTmGoPav5vLTMYrLoEdgcXd2ZKIF1dQ2TYh+7t X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7845 On 8/27/15, aparsloe wrote: > I hadn't thought of the \use_none:... functions. (There is much of expl3 > which is *not* at my fingertips.) Thank you, and I see that they can > absorb up to 9 tokens. up to 9 brace groups, yes. > Dare I continue the theme? For instance I have used rescanning of ( and > ) to "group begin" and "group end" to obtain the parenthesised arguments > of functions "at one gulp", e.g. > > \max() > > or the parenthesised part (the inner sum) of > > \sum_{k=0}^{\infty}\frac{(-1)^{k}}{2^{k+1}}\left(\sum_{n=0}^{k}(-1)^{n}\binom{k}{n}\frac{1}{(k-n)!}\right) > > (= 1/e). That's much harder. Catcode changes are probably warranted in this case, since teaching TeX to nest parentheses in this way is tough. Maybe Joseph will have better ideas? Abusing xparse, perhaps? > Finally, in arguing against changing catcodes you are assuming a greater > knowledge of TeX than I possess. There must be a reason for this > deprecation. We're not deprecating catcode changes, just saying that many cases are better solved in a different way. Your case above might be one where using catcode changes makes sense. > The great joy of discovering expl3 was that it made TeX > programming available to someone familiar with basic (or even, dare I > say it, line-numbered BASIC) programming concepts but with only a meagre > knowledge of TeX. (So, for instance, I wonder why you use > \cs_new_protected:Npn above rather than \cs_new:Npn or > \cs_new_nopar:Npn. Interfaces3.pdf is thin on such matters.) We should describe better the difference between expandable and non-expandable commands. Bruno