diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-08 22:04:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-08 22:04:03 +0000 |
commit | e3c9aa5a0eb63c07085837be2d3860662d0524b0 (patch) | |
tree | 820b25531246185e4fc7ea0c71db7acefdf1ff56 /Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | |
parent | eaf311d60531e74cdaa03ae4c062f66bb5afb81a (diff) |
fix deprecated hook calling, tex4ht r1142; restore \ifthen properly, tex4ht r1143
git-svn-id: svn://tug.org/texlive/trunk@63520 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index c516dffdb4e..5830229c203 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex +++ b/Master/texmf-dist/source/generic/tex4ht/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|> } |