[latex3-commits] [latex2e-public] r1399 - revert r1398

noreply at latex-project.org noreply at latex-project.org
Thu Mar 2 21:23:00 CET 2017


Author: carlisle
Date: 2017-03-02 21:23:00 +0100 (Thu, 02 Mar 2017)
New Revision: 1399

Modified:
   trunk/base/ltoutenc.dtx
Log:
revert r1398

Modified: trunk/base/ltoutenc.dtx
===================================================================
--- trunk/base/ltoutenc.dtx	2017-02-26 19:17:22 UTC (rev 1398)
+++ trunk/base/ltoutenc.dtx	2017-03-02 20:23:00 UTC (rev 1399)
@@ -2781,19 +2781,9 @@
   \char#1\relax}
 %    \end{macrocode}
 %
-% \changes{v2.0h}{2017/02/24}{%
-%     add fallback to spacing accent}
 %    \begin{macrocode}
 \def\DeclareUnicodeAccent#1#2#3{%
-  \DeclareTextCommand{#1}\UnicodeEncodingName{%
-    \iffontchar\font\numexpr#3\relax
-    \expandafter\@firstoftwo
-    \else
-    \expandafter\@secondoftwo
-    \fi
-    {\add at unicode@accent{#2}}%
-    {\add at accent{#3}}%
-    }%
+  \DeclareTextCommand{#1}{#2}{\add at unicode@accent{#3}}%
 }
 %    \end{macrocode}
 %
@@ -2988,21 +2978,21 @@
 %    \end{macrocode}
 % Accents must be declared before the composites that use them.
 %    \begin{macrocode}
-\DeclareUnicodeAccent{\`}                {"0300}{"60}
-\DeclareUnicodeAccent{\'}                {"0301}{"B4}
-\DeclareUnicodeAccent{\^}                {"0302}{"5E}
-\DeclareUnicodeAccent{\~}                {"0303}{"7E}
-\DeclareUnicodeAccent{\=}                {"0304}{"AF}
-\DeclareUnicodeAccent{\u}                {"0306}{"02D8}
-\DeclareUnicodeAccent{\.}                {"0307}{"02D9}
-\DeclareUnicodeAccent{\"}                {"0308}{"A8}
-\DeclareUnicodeAccent{\r}                {"030A}{"02DA}
-\DeclareUnicodeAccent{\H}                {"030B}{"02DD}
-\DeclareUnicodeAccent{\v}                {"030C}{"02C7}
-\DeclareUnicodeAccent{\b}                {"0332}{"5F}
-\DeclareUnicodeAccent{\d}                {"0323}{"2E}
-\DeclareUnicodeAccent{\c}                {"0327}{"B8}
-\DeclareUnicodeAccent{\k}                {"0328}{"02DB}
+\DeclareUnicodeAccent{\`}                \UnicodeEncodingName{"0300}
+\DeclareUnicodeAccent{\'}                \UnicodeEncodingName{"0301}
+\DeclareUnicodeAccent{\^}                \UnicodeEncodingName{"0302}
+\DeclareUnicodeAccent{\~}                \UnicodeEncodingName{"0303}
+\DeclareUnicodeAccent{\=}                \UnicodeEncodingName{"0304}
+\DeclareUnicodeAccent{\u}                \UnicodeEncodingName{"0306}
+\DeclareUnicodeAccent{\.}                \UnicodeEncodingName{"0307}
+\DeclareUnicodeAccent{\"}                \UnicodeEncodingName{"0308}
+\DeclareUnicodeAccent{\r}                \UnicodeEncodingName{"030A}
+\DeclareUnicodeAccent{\H}                \UnicodeEncodingName{"030B}
+\DeclareUnicodeAccent{\v}                \UnicodeEncodingName{"030C}
+\DeclareUnicodeAccent{\b}                \UnicodeEncodingName{"0332}
+\DeclareUnicodeAccent{\d}                \UnicodeEncodingName{"0323}
+\DeclareUnicodeAccent{\c}                \UnicodeEncodingName{"0327}
+\DeclareUnicodeAccent{\k}                \UnicodeEncodingName{"0328}
 \DeclareTextCommand\textcommabelow       \UnicodeEncodingName[1]
   {\hmode at bgroup\ooalign{\null#1\crcr\hidewidth\raise-.31ex
    \hbox{\check at mathfonts\fontsize\ssf at size\z@



More information about the latex3-commits mailing list