[latex3-commits] [git/LaTeX3-latex3-latex2e] softhyphen: Make ^^ad active in Unicode engines (6907288c)

Marcel Fabian Krüger tex at 2krueger.de
Wed Apr 15 19:48:01 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : softhyphen
Link       : https://github.com/latex3/latex2e/commit/6907288c8bd629dea1b3012935a0435a1ab075e1

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

commit 6907288c8bd629dea1b3012935a0435a1ab075e1
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Sat Apr 11 21:12:54 2020 +0200

    Make ^^ad active in Unicode engines


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

6907288c8bd629dea1b3012935a0435a1ab075e1
 base/ltspace.dtx | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/base/ltspace.dtx b/base/ltspace.dtx
index 1460ef5b..93e152a2 100644
--- a/base/ltspace.dtx
+++ b/base/ltspace.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltspace.dtx}
-             [2020/03/07 v1.3l LaTeX Kernel (spacing)]
+             [2020/04/15 v1.3m LaTeX Kernel (spacing)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltspace.dtx}
@@ -1218,6 +1218,18 @@
 % \end{macro}
 % \end{macro}
 %
+% \changes{v1.3m}{2020/04/15}{Made softhyphen active in TU engines}
+%
+%   For Unicode engines, make the Unicode soft hyphen an active
+%   character defined as \cs{-}.
+%
+%    \begin{macrocode}
+\ifx\Umathcode\@undefined\else
+  \catcode "AD=13
+  \def^^ad{\-}
+\fi
+%    \end{macrocode}
+%
 % \begin{macro}{\obeycr}
 % \begin{macro}{\restorecr}
 % The following definitions will probably get deleted or moved to





More information about the latex3-commits mailing list.