[latex3-commits] [git/LaTeX3-latex3-latex2e] master: experimental code to address issue #32 (735ce69)

David Carlisle d.p.carlisle at gmail.com
Sun Apr 8 13:41:56 CEST 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/735ce69114036425dc8a9b85c135f9c46fb081da

>---------------------------------------------------------------

commit 735ce69114036425dc8a9b85c135f9c46fb081da
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Apr 8 12:41:56 2018 +0100

    experimental code to address issue #32


>---------------------------------------------------------------

735ce69114036425dc8a9b85c135f9c46fb081da
 base/ltfinal.dtx |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/base/ltfinal.dtx b/base/ltfinal.dtx
index b9d4a5e..69fce2f 100644
--- a/base/ltfinal.dtx
+++ b/base/ltfinal.dtx
@@ -652,6 +652,17 @@
 %    \begin{macrocode}
 \edef\inputencodingname{utf8}%
 \input{utf8.def}
+\let\UTFviii at two@octets@@\UTFviii at two@octets
+\let\UTFviii at three@octets@@\UTFviii at three@octets
+\let\UTFviii at four@octets@@\UTFviii at four@octets
+\long\def\UTFviii at two@octets#1#2{\string#1\string#2}
+\long\def\UTFviii at three@octets#1#2#3{\string#1\string#2\string#3}
+\long\def\UTFviii at four@octets#1#2{\string#1\string#2\string#3\string#4}
+\everyjob\expandafter{\the\everyjob
+\let\UTFviii at two@octets\UTFviii at two@octets@@
+\let\UTFviii at three@octets\UTFviii at three@octets@@
+\let\UTFviii at four@octets\UTFviii at four@octets@@
+}
 \let\@inpenc at test\@undefined
 \let\saved at space@catcode\@undefined
 %    \end{macrocode}





More information about the latex3-commits mailing list