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 p1G77GBS022512 for ; Wed, 16 Feb 2011 08:07:17 +0100 Received: (qmail 14884 invoked by alias); 16 Feb 2011 07:07:11 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 16 Feb 2011 07:07:10 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx118) with SMTP; 16 Feb 2011 08:07:10 +0100 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 p1G754vc011858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Feb 2011 08:05:05 +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 p1FNC3D5018477; Wed, 16 Feb 2011 08:04:55 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1393036 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 16 Feb 2011 08:04:55 +0100 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 p1G74tgK025156 for ; Wed, 16 Feb 2011 08:04:55 +0100 Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p1G74ggP011343 for ; Wed, 16 Feb 2011 08:04:46 +0100 Received: from cremornelane.demon.co.uk ([80.177.25.195] helo=palladium.local) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1PpbRK-0000Vb-ko; Wed, 16 Feb 2011 07:04:42 +0000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 References: <4028010D-1144-415D-A984-E3684A7E3EDE@gmail.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4D5B770A.2000401@morningstar2.co.uk> Date: Wed, 16 Feb 2011 07:04:42 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Expandable versions of \uppercase, \MakeUppercase, \lowercase, \MakeLowercase 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=5D7Q89H36p6i75npGen84eVAEFK/syJmiNoEBJhgjYKpglu1TZLLw7xMZnJMXwBFy+Sxe D/AUQGQOurK3ezVJqUBFH0uN5pjmWoMfpyHp50EZ60/Y6hM43eiKLTaE/W0dI7nIn8+pr4SzneyH Jeytg==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: 6601 On 15/02/2011 22:47, Bruno Le Floch wrote: > For your information, using the code I mentionned for \Uppercase, I > have now two more things. > > - (Expandable) version of \tl_reverse:n that preserves spaces, and > goes into brace groups, namely after two steps, > > \UL_reverse:n{\a{ b \) cd\(e}f} -> f{e\(dc \) b }\a Could you post this here? (Or at least the bits that get added to your existing posts). > - Expandable full-expansion code (which takes care of course of > \unexpanded and \noexpand, and \protected commands). > \fullyexpand:n{} > is then equivalent to > \edef\tmpa{} \tmpa Again, post the code :-) I wonder what exactly you mean here. With the \expanded primitive (pdfTeX 1.50 or LuaTeX) you can do \edef\a{\expanded{\def\a{b}}} and have \a => 'b'. I can't see that this can work without the extra primitive. So some examples would be nice. > I'm not too sure where I should go next. Put all of the stuff you've written together with some documentation, sticking to expl3 conventions, and send it to the list for addition to expl3 :-) (Serious point: I'll probably do something like this over the next day or so.) -- Joseph