Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by h2774747.stratoserver.net (8.15.2/8.15.2/Debian-3) with ESMTP id x1CGdBNN024505 for ; Tue, 12 Feb 2019 17:39:12 +0100 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx115 [212.227.17.5]) with ESMTP (Nemesis) id 1MWSVX-1gZPX71eSR-00XxOq for ; Tue, 12 Feb 2019 17:39:06 +0100 Received: from listserv.uni-heidelberg.de ([129.206.100.94]) by relay.uni-heidelberg.de with ESMTP; 12 Feb 2019 17:39:07 +0100 Received: from listserv (localhost [127.0.0.1]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 186DE127CBD; Tue, 12 Feb 2019 17:13:49 +0100 (CET) Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 33376902 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 12 Feb 2019 17:13:47 +0100 Delivered-To: LATEX-L@listserv.uni-heidelberg.de Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (Postfix) with ESMTP id 33D35122C9B for ; Tue, 12 Feb 2019 17:13:47 +0100 (CET) X-IronPort-MID: 11514079 X-IronPort-RemoteIP: 176.28.54.184 X-IronPort-SenderGroup: UNKNOWNLIST X-IronPort-MailFlowPolicy: $ACCEPTED X-IronPort-Reputation: 3.5 IronPort-PHdr: =?us-ascii?q?9a23=3AZd9RuRywCj2ryRDXCy+N+z0kezQntrPoPwUc9p?= =?us-ascii?q?sgjfd0f7+++4j5ZRyEt+9giFbYG5jd6rdEhuvavqTqVHYPp5qM4zgZaJIZcR?= =?us-ascii?q?gDhI0NmhA4RtafABj1NvfsbGo/HdheWVtv9nq7GUxcBMvuIkXIpX+/5iJUHQ?= =?us-ascii?q?/wZkJuPuqgIofJlIys0vyqvZjaYgFGnj24NL1oJRO16wDQqtUbhYFrIaYZzh?= =?us-ascii?q?LVr2sNY/5Rx25jORSUhRmvrtyo8stF9CJd8+kk69YGUaj+ePEgSqdECT09L2?= =?us-ascii?q?0vzMbssBTPXE2D730AXyMan0MSUTLI5xz7QJr99xDCmLEhhnu8Osv7BfAuVD?= =?us-ascii?q?Cr/uF2Th6tiCoGOzM9+mzNhYp8gfATphXpvBF5z4POBePdfPNjYqPQe88bTm?= =?us-ascii?q?tdT45QUSJGGIa1c4oICaIII+9Zq4D3o1ZGowG5AEGgA+bmyzkAgXGTv+Vy3f?= =?us-ascii?q?4oFwKA2Q08A98Kun3frP3xPbsfQaWt1q7KwD7fKfRM1na16YTFdAwgveDZRa?= =?us-ascii?q?h5Iq+zgQEkEwLIiEnVqJSwZmzLkL5d9TXHqbMwCbHnkWMspgBvryL63Moog5?= =?us-ascii?q?iPm4QUj1DJ9Cl0xIw4P9L+REMoBLzsWJZWqSyeMJN7B804RGQ98iggw7sF/5?= =?us-ascii?q?u6YDQHzJ4uzB73b/WbfpjN+gjkVuuaPXF/nn0vK9fdz16itFOtzOHxTJz+3k?= =?us-ascii?q?xDqCkDl9jQqn0J3RXY6uCDQ+dw7gK5wzGN2gvPrOZeLgpn8MiTY45kybk2mJ?= =?us-ascii?q?0JtE3FFSKjg0T6gpidcUA88/Sp4eDqO++0nJKXOo5qhw27CZwAxpTiU9wxKR?= =?us-ascii?q?NGH3KW/e2tkqDl/Aj5TbRGg/k8n7PW9pzXd4wXoauwAgkd1YhGiV73AS2v1t?= =?us-ascii?q?demHgbMF9BchuMj6DtMk3DMLXgF/C9jl+w1jBxyLjKM6bgDZPEMnXY2O6+I/?= =?us-ascii?q?AnuwgBlExqnYw6hdocA6pJOP/pX07tqNHURgQ0NQC52aevCdlw0J8fRXPaB6?= =?us-ascii?q?aYNK3Itlrbg4Bna+KIZYITpHP8M618uKCo1y9/xANbJPn1jtMNZXu1H+prOR?= =?us-ascii?q?CDbH7lk5EcF2ZPvgc/QOHuglCYXnhfaiXXPep06zclBYahFYqGSJqqhenL0j?= =?us-ascii?q?2yGJ4QY2FaFl2IG37jd62AUusBeGeKOMhjnzcYE7+7RMVysHPm/B+/0LdhIu?= =?us-ascii?q?fOr2cWr5vl155w5vHPmBU4/Dd0J8CUz2ydCnlumWEFTCNw27pw6x8YqB/Lwe?= =?us-ascii?q?1zhPpWEsZW7vVCX1IhNJLS+Od9Dsj7RgPLetraAEbjWNitBis9C84g29JbKV?= =?us-ascii?q?goAM2s11qQukjiS69QjbGAA4Y4t77Rz2Skbdgo0G7IjeEknxFjS89LfzT81J?= =?us-ascii?q?Ry/AXSGYPF1n6huf3xLPY62yjAvCeZwG6HrQdFVg81UajEUX0bbEbMopL16x?= =?us-ascii?q?GKSbjmErkhPgZbrKzKYqJXdt3ki0lHT/b/KZzfZWy2gWK5GRePwPuFcoPrf2?= =?us-ascii?q?wX2CiVBlIDlkgf+nOPNA52ASnEwSqWFDt1CVfmeF/h68F1r3a2Ql5ywwiMc0?= =?us-ascii?q?An27f0sh8ZiPqASu8Ci7IJvCByzlc8VF253t/QF5+Bv184I/saO4N7vQsBjD?= =?us-ascii?q?KF5ERnM5etLr5vnAsEfgB+rgXz0RQyCohBncUupn4ww0x+JPH9shsJejWG0J?= =?us-ascii?q?T3IrCSJHP1+UXlZbTf3FKY1deK5qoL4v0zq33ntR2kBg866XJl3tJJlXyG6d?= =?us-ascii?q?+ZaWhaGYK0SUsx+xVg8vvCZTIh4orPyXB2GaKztzLOypQlDe05x1Cscp0MVc?= =?us-ascii?q?HMXB+3GMocCc+0LeUskFX8dRMIMtdZ86ssNt+nff+Lgf/5DKNbhDujyF9/zs?= =?us-ascii?q?V420OI+TB7T7eZjZIM3/yImxOdUDXxh0vntdr4y9kdOWMiW1GnwC2hP7Z/I7?= =?us-ascii?q?VodN9aW2OnP8Cng81kgJzgUGIe80SsVQtfhZ2ZPCGKZlm45jV+kEQapXv+xn?= =?us-ascii?q?mzyDl5nyBvoqOZwCGIz+mwLBc=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BoAgCR72Jch7g2HLBjHgEfBg2BSIE?= =?us-ascii?q?vKiaBOyMECyeEBIh5jHMIJQ+ZfwsBASsBhEACg0UaBwEENBIBAwEBAgEBAQE?= =?us-ascii?q?UAQEBCA0JCCkjDIVLAQEDAQEBIQQLAQUIAQE4BAsJAhoCJgICVwUBDQgBAYJ?= =?us-ascii?q?VS4F6CQMBkA6acHF8M4J4AQEFgkWEZAiBC4EjihWBVz+BOAyCMS6ICoJXlzG?= =?us-ascii?q?LcAcCgjUEkBEfikuIFYcnlG4CERMBgV2Bd32DL4IoDgmBAAEIh1aFQD4zewo?= =?us-ascii?q?BAY8UAQE?= X-IronPort-AV: E=Sophos;i="5.58,362,1544482800"; d="scan'208";a="11514079" X-MGA-submission: =?us-ascii?q?MDFyToryo/Zu/Tx33Dx4QmSEXaC6sseNX2GdVp?= =?us-ascii?q?9bvMzqbcIaTSBDMqdFM81wlhG+3/axpzYXiZegi9X3ZQEo/sP+3BpFtK?= =?us-ascii?q?IUoqFln/Db/Xy9qHh2JJqz4EvSFycpQmb1PNX/Qvsio8MJB6E81DCWBl?= =?us-ascii?q?JCK1R+0+F5WGU+pFYLm8CpbA=3D=3D?= Received: from comedy.dante.de ([176.28.54.184]) by relay.uni-heidelberg.de with ESMTP/TLS/DHE-RSA-AES128-GCM-SHA256; 12 Feb 2019 17:13:47 +0100 Received: from Franks-MBP.fritz.box (p200300CBAF469800B44AF16053066DFA.dip0.t-ipconnect.de [IPv6:2003:cb:af46:9800:b44a:f160:5306:6dfa]) (authenticated bits=0) by comedy.dante.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id x1CGDhMF016570 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Tue, 12 Feb 2019 17:13:45 +0100 References: <5630732433921446.WA.kellysmith12.21gmail.com@listserv.uni-heidelberg.de> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-DANTE-Spam-Score: -1.899 () BAYES_00,SPF_FAIL X-Scanned-By: MIMEDefang 2.78 on 81.169.212.23 X-Scanned-By: MIMEDefang 2.71 on IPv6:2a01:488:67:1000:b01c:36b8:0:1 Message-ID: <9636d025-7503-e83c-6982-dc4e38b85a54@latex-project.org> Date: Tue, 12 Feb 2019 17:13:43 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: Text Commands in XeLaTeX and LuaLaTeX To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <5630732433921446.WA.kellysmith12.21gmail.com@listserv.uni-heidelberg.de> 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-Spam-Flag: NO X-UI-Filterresults: notjunk:1;V03:K0:bG9HTLlyujk=:Hacq3n8FHE8BnxTgxtPaju/Gaa hvXM/p46N+3TDuNzuXRRpGeWApnc1fyJEQlEkaIo5roZvIH+eN4XB+8AYz9YIhE+qr0JlJUaA dLwKgZ5nwuntqEaFvCINKkTr0HeWuFqEqg+4NTSRKGDBDY/6U23zaoM63dPdbkzm4/ufEDzZp X3fjCuRRlczpzvyYYVfKWM6PC9czCUWPf86vOOwkG8+cKTWM7XWE/J2fGcKPgyWr7olMBvx4H Qq98aHOcwCxY2bI6Ggl5djB8hss7kmZJfSxDcpHKytHRA+Lv4xOJPJaFlBhki6Co4IQNRuvRE JuGSvFf+J5uAs0I2NIjFci2b0rG38Z9qcSV+ZW4/EBnYmy7XfDXfG+MsLsqsyOzKZZdih+Vyp InMouo8VuqJyPn+tAcNjX/SfjnrLR9gNHYF2lAFgiRIPt1GTMbeTm2Ch2XAopkidEcsWKQgYt etWMt/qdT0RJV6zE8SJDqj4rqJlWrFS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nYl lNPGFlKCV4u783bT/ETHoBA/XLnAjJWbVKAF0FrcjveJb7g2pvb/BVRzRIoYyLPL0+rlGPpZ7 xRl2bnqFCg== Status: R X-Status: X-Keywords: X-UID: 8163 Am 14.01.19 um 07:15 schrieb Kelly Smith: >> of course this is way before the event of unicode or xetex/luatex ... > > As for XeTeX and LuaTeX, it appears that UTF-8 text doesn’t get converted > to an internal representation, according to some quick experiments I tried. in some sense I would love to make that happen (as there are also advantages to it) but it would come at a high cost - loss of speed (somewhat) - impossibility to use utf8 chars in csnames, eg in luatex you can do \newcommand\Füße{} as long as the chars are of \catcode 11, once they are active they can't be used in this way and while I personally wouldn't mind, I can understand that depending on your language you rather want that to be possible. The second point really means that it is a no-go > I guess that it would be impractical to set up automatic conversions > for such a large character set. There is that. > And, as you said, since the UTF-8 will > survive reading and writing to and from files, an internal representation > isn’t critical. The downside is that you simply don't know if the character will typeset correctly in a given situation, as that approach assumes that everything is unicode and that there is something at the other end when you ask the font to render the utf8 char--- as that is not necessarily true you may end up with tofu in other words a certain step backwards from the situation we had in that respect in 8bit > When running on XeTeX or LuaTeX, is there an interface for getting the > Unicode character(s) represented by a text command? (e.g. \"{a} -> ä, > useful for string comparison). I suppose one could easily achieve that by > locally redefining all the text commands? Not necessary, you just need to process the definitions in the right state, eg \typeout{ä \"w} \makeatletter \protected@edef\foo{ä \"w} \show\foo will give you this as output: ä \"w > \foo=macro: ->ä \"w. l.14 \show\foo cheers frank