summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex16
1 files changed, 10 insertions, 6 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index c516dffdb4..5830229c20 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1138 2022-05-23 12:21:20Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1144 2022-06-08 22:03:06Z karl $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -13591,10 +13591,14 @@ The need to initialize \''\@svsechd' arises in
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@ifthenelse%
\let\ifthenelse\NROrg@ifthenelse%
-}{}
+\fi
>>>
\<fix ifthen\><<<
@@ -25008,10 +25012,10 @@ As it can be declared in the preamble, we must patch the usepackage code.
>>>
\<minted-sty-hooks.4ht\><<<
-% minted-sty-hook.4ht, generated from |jobname.tex
-% Copyright 2020 TeX Users Group
+% minted-sty-hooks.4ht, generated from |jobname.tex
+% Copyright 2022 TeX Users Group
|<TeX4ht license text|>
-\AddToHook{package/after/minted}{%
+\AddToHook{package/minted/after}{%
\@ifpackageloaded{xcolor}{}{\RequirePackage{xcolor}}
|<minted breaklines|>
}