[latex3-commits] [latex3/latex2e] develop: adjust unreleased ifthen change to allow patching by other packages (19eaf6ad)

github at latex-project.org github at latex-project.org
Sat Mar 23 17:15:32 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/19eaf6ad86ebebb3099ac8df5ce011632b58cf51

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

commit 19eaf6ad86ebebb3099ac8df5ce011632b58cf51
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat Mar 23 16:15:19 2024 +0000

    adjust unreleased ifthen change to allow patching by other packages


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

19eaf6ad86ebebb3099ac8df5ce011632b58cf51
 base/ifthen.dtx | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/base/ifthen.dtx b/base/ifthen.dtx
index fe5bea1f..0bbe3612 100644
--- a/base/ifthen.dtx
+++ b/base/ifthen.dtx
@@ -282,6 +282,13 @@
 \lowercase{\endgroup
 %    \end{macrocode}
 %    \begin{macrocode}
+\def\TE at repl@active{%
+  \TE at repl~>%
+  \TE at repl+<%
+  \TE at repl!=%
+}
+%    \end{macrocode}
+%    \begin{macrocode}
 \long\def\ifthenelse#1{%
 %    \end{macrocode}
 % \changes{v1.0h}{1994/05/14}{Use \cs{TE at repl}}
@@ -293,9 +300,7 @@
   \TE at repl\not\TE at neg
 %    \end{macrocode}
 %    \begin{macrocode}
-  \TE at repl~>%
-  \TE at repl+<%
-  \TE at repl!=%
+  \TE at repl@active
 %    \end{macrocode}
 %
 % \changes{v1.1c}{2001/05/25}{Added \cs{AND}, \cs{OR} and \cs{NOT} as





More information about the latex3-commits mailing list.