[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Assume numexpr (requested by Joseph Wright) (70d7301)
David Carlisle
d.p.carlisle at gmail.com
Sun Sep 30 16:29:17 CEST 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/70d73017e50a8e822d9d1758c977a65a45491fec
>---------------------------------------------------------------
commit 70d73017e50a8e822d9d1758c977a65a45491fec
Author: mirabilos <m at mirbsd.org>
Date: Sun Aug 5 22:39:45 2018 +0200
Assume numexpr (requested by Joseph Wright)
>---------------------------------------------------------------
70d73017e50a8e822d9d1758c977a65a45491fec
base/utf8ienc.dtx | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/base/utf8ienc.dtx b/base/utf8ienc.dtx
index ee77f19..bfcfdc6 100644
--- a/base/utf8ienc.dtx
+++ b/base/utf8ienc.dtx
@@ -809,14 +809,10 @@
% \begin{macro}{\UTFviii at splitcsname}
% \changes{v1.1o}{2015/08/28}{Macro added}
% \begin{macro}{\UTFviii at hexcodepoint}
-% \changes{v1.2e}{2018/08/05}{Format codepoint properly}
+% \changes{v1.2e}{2018/08/05}{Format codepoint properly; assume numexpr}
% Split a csname representing a unicode character and return
-% the character and (if |\numexpr| is defined) the unicode number in hex.
+% the character and the unicode number in hex.
% \begin{macrocode}
-\ifx\numexpr\@undefined
-\gdef\UTFviii at hexcodepoint#1{#1}%
-\gdef\UTFviii at splitcsname#1:#2\relax{#2}}
-\else
\gdef\UTFviii at hexcodepoint#1{%
\ifnum#1<16 U+000%
\else\ifnum#1<256 U+00%
@@ -835,7 +831,6 @@
#2 (\expandafter\UTFviii at hexcodepoint\expandafter{%
\the\numexpr\decode at UTFviii#2\relax})%
}
-\fi
% \end{macrocode}
% \end{macro}
% \end{macro}
More information about the latex3-commits
mailing list