Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s61D5gKu025287 for ; Tue, 1 Jul 2014 15:05:43 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx002) with ESMTPS (Nemesis) id 0Mgw7c-1XFDJ90cNc-00M4jw for ; Tue, 01 Jul 2014 15:05:36 +0200 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 s61D2hPv005241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Jul 2014 15:02:43 +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 s61CmYEr029243; Tue, 1 Jul 2014 15:02:43 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11121312 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 1 Jul 2014 15:02:43 +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 s61D2gt6012868 for ; Tue, 1 Jul 2014 15:02:42 +0200 Received: from smtp2.easily.co.uk (smtp2.easily.co.uk [91.194.151.17]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s61D0mhr003131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 1 Jul 2014 15:00:52 +0200 Received: from [139.222.113.100] (port=54693 helo=[139.222.113.100]) by smtp2.easily.co.uk with esmtpa (Exim 4.43) id 1X1xg0-0003Eo-MG for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 01 Jul 2014 14:00:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 References: <5489.1404208110@cl.cam.ac.uk> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Message-ID: <53B2B100.1070907@morningstar2.co.uk> Date: Tue, 1 Jul 2014 14:00:48 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Case changing operations To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <5489.1404208110@cl.cam.ac.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by relay.uni-heidelberg.de id s61D2hPv005241 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:a1lVKbEIpLg=:QylheXTaydCcMtDHKj5fmxxjRG /zhj6Nm+3eGA6gT9yfoZJMbV48D1iqWua+zpq8IUYBIwn9qijGoBmPxRe4xKGonnVfsvqgM2c x9e7YVdNthwS3vDb0P/niDMBrXzbcEAJhBckWIbffmK+Fy4TRRpZuxYAZ+SJ6aDkeFfG8WhQZ yuzxjbYnKSMF4n6Rh+ppdGNM8kfUXCTXqLZ2Hnuoj2BR0GZXlV3lbFzYEVwYjmDmwFQQ1fSqR ItPYva/6ubSJnqAdxKUFPjJFnXmp8DOOU3rSKeGS0GX0g0cfAac913LINPOfHgR3hih9lTHUc DWfVx3na62W478Q1cAx3gY/WE35u6L2xBUdnjyTovK+ouhwIlpOgfRqRoj5SMiES7G91EF/YJ hJz2yhGYM6VdkMMxyEVmvqFKRg+qbEtdWGqUOEKUrAN1Jzwg667E6fPJfYnY8dWaoAl1rv+Ny Mbjf3INvb9a1e0AatTUYii0L/x31iN5Q0pmbczbmLwT9nuwdBgg4IKlyNBnMQ7Cp35KglI1fG 5lj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UsUQ2q3Jpqc FsnqnGEHwziGNWA6r+ZrUm2APPI3WMxV0KZPe66j9UkCYauuuvMGn24YsedyeiIO51qKjbAmQ 4c4BN0tmplTVibYyfkMX6VTS+6d24yrILEiaWoKAJ97RElpGnjNqJC3iyObcAjp44SV1BybVk EWKtjZoA1V4Fxq X-UI-Loop:V01:0gzHMYpZuA0=:S3szLtFTTYoEQtacSCsxFtqMk2prOETGwtmmBJYth84= Status: R X-Status: X-Keywords: X-UID: 7528 On 01/07/2014 10:48, Robin Fairbairns wrote: > the other concern that sticks in my mind, is frank suggesting > case-diddling isn't really stuff for the latex kernel. I hope we are safe here: case changing is provided by many programming languages (so is likely 'right' for expl3), and we do need such functionality for e.g. running headers (all caps is common in such places= ). > does anyone know what context do? is there scope for joint work on a > common module? Reading e.g. http://wiki.contextgarden.net/Titles, the ConTeXt approach (as I'd guess) has more than one part. The primitives tend to be more 'encouraged' in ConTeXt than is likely to be the case for any stand-alone LaTeX2, and indeed than is often the case for LaTeX2e. Thus they have some examples using \uppercase, which is (in the version of ConTeXt I have installed) the primitive unaltered (I did not check for any callback here). There is also e.g. \WORD, which in MkIV uses LuaTeX's \attribute system to effect the change at the font level. The latter is therefore able to e.g. convert "=DF" to "SS". (In my tests I di= d not find another example of a 1 -> many situation which is covered by the standard fonts.) Thus they have somewhat different requirements/aims. (Testing here suggests that e.g. \Word will pick up "." but does not handle for example quotations.) (Note: That page says \WORD will mess up \em, which may be correct for MkII but is wrong for MkIV. I've not checked what MkII does here.) (See also http://wiki.contextgarden.net/Command/setcharactercasing for the more general case, which works on a per-paragraph basis, again using attributes to achieve this.) --=20 Joseph Wright