[tex4ht-commits] [SCM] tex4ht updated: r1143 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Jun 8 12:45:01 CEST 2022


Author: michal_h21
Date: 2022-06-08 10:45:00 +0000 (Wed, 08 Jun 2022)
New Revision: 1143

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
restore ifthen from NROrg at ifthenelse only when it is defined

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-06-08 10:36:28 UTC (rev 1142)
+++ trunk/lit/ChangeLog	2022-06-08 10:45:00 UTC (rev 1143)
@@ -1,5 +1,8 @@
 2022-06-08  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-4ht.tex (ifthen.4ht): restore \ifthen from
+	\NROrg at ifthenelse only when it is defined.
+
 	* tex4ht-4ht.tex (minted-sty-hooks.4ht): fixed deprecated way of
 	calling to package hooks.
 

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2022-06-08 10:36:28 UTC (rev 1142)
+++ trunk/lit/tex4ht-4ht.tex	2022-06-08 10:45:00 UTC (rev 1143)
@@ -13591,10 +13591,14 @@
 Nameref redefines ifthenelse command, but it clashes with BibLaTeX,
 so we revert back to the original version.
 
+The 2022 version of Nameref doesn't redefine it anymore, so we will
+restore the original ifthen only if we are on a system with not updated
+Nameref.
+
 \<fix nameref ifthen\><<<
-\@ifpackageloaded{nameref}{%
+\ifdefined\NROrg at ifthenelse%
 \let\ifthenelse\NROrg at ifthenelse%
-}{}
+\fi
 >>>
 
 \<fix ifthen\><<<



More information about the tex4ht-commits mailing list.