[latex3-commits] [latex2e-public] r1304 - more tu fixes, from Chris mostly
noreply at latex-project.org
noreply at latex-project.org
Mon Dec 12 21:40:56 CET 2016
Author: carlisle
Date: 2016-12-12 21:40:56 +0100 (Mon, 12 Dec 2016)
New Revision: 1304
Modified:
trunk/base/ltoutenc.dtx
Log:
more tu fixes, from Chris mostly
Modified: trunk/base/ltoutenc.dtx
===================================================================
--- trunk/base/ltoutenc.dtx 2016-12-12 09:19:48 UTC (rev 1303)
+++ trunk/base/ltoutenc.dtx 2016-12-12 20:40:56 UTC (rev 1304)
@@ -2640,13 +2640,16 @@
% \changes{v2.0a}{2016/12/11/04}{Added TU encoding}
%
% The TU encoding was originally introduced in the contributed
-% \texttt{fontspec} package as a Unicode encoding fro XeTeX and
+% package \texttt{fontspec} as a Unicode encoding for XeTeX and
% LuaTeX.
%
-% often with these engines data is added a UTF-8 encoded Unicode
-% characters and so there is less need for traditional encoding
-% specific commands, however it is often useful to have access to the
-% commands via traditional ASCII based markup, and the commands here
+% Normally for these engines, the input consists of Unicode characters
+% encoded in UTF-8. There is therefore little need to use the
+% traditional (ASCII) encoding-specific commands
+%
+% However, sometimes (e.g. for backwards compatibility) it can be
+% useful to access these Unicode characters via such ASCII-based
+% markup. The commands provided here
% Cover the characters in the T1 and TS1 encodings, but specified in
% Unicode position. Almost all the command names have been
% mechanically extracted form the \texttt{inputenc} UTF-8 support,
@@ -2655,16 +2658,16 @@
%
% A few additional names for character which were supported in the
% original \texttt{fontspec} version of this file have also been
-% added, even though they are not currently supported in the default
+% added, even though they are not currently in the default
% \texttt{inputenc} UTF-8 declarations.
%
% \begin{macrocode}
%<*TU>
% \end{macrocode}
% As the Unicode encoding, TU, is only currently available with XeTeX
-% or LuaTeX, we detect these engines first, and make adjustments to
-% differing font loading syntax. For other engines, issue a warning
-% Then abort this file, switching back to T1 encoding.
+% or LuaTeX, we detect these engines first, and make adjustments for the
+% differing font loading syntax. For other engines, we issue a warning
+% then abort this file, switching back to T1 encoding.
% \begin{macrocode}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname XeTeXrevision\endcsname\relax
@@ -2990,10 +2993,8 @@
\DeclareTextComposite{\.}{TU}{b}{"1E03}
\DeclareTextSymbol{\SS}{TU}{"1E9E}
\DeclareTextSymbol{\textcompwordmark}{TU}{"200C}
-\DeclareTextSymbol{\textendash}{TU}{"2012}
\DeclareTextSymbol{\textendash}{TU}{"2013}
\DeclareTextSymbol{\textemdash}{TU}{"2014}
-\DeclareTextSymbol{\textemdash}{TU}{"2015}
\DeclareTextSymbol{\textbardbl}{TU}{"2016}
\DeclareTextSymbol{\textquoteleft}{TU}{"2018}
\DeclareTextSymbol{\textquoteright}{TU}{"2019}
More information about the latex3-commits
mailing list