diff options
author | Norbert Preining <norbert@preining.info> | 2021-08-15 03:00:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-08-15 03:00:39 +0000 |
commit | 8e38006fd2e220c3a27208477dab7abbf7256370 (patch) | |
tree | d63fa0168a10601bb6a10a1e3684ed25e52a68c9 /support/TeX4ht/source/tex4ht-4ht.tex | |
parent | 769e7ba80785adf6ccb03041b687fcd0253e9371 (diff) |
CTAN sync 202108150300
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 2f3aa6f0e1..daac99a89e 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 972 2021-08-12 20:24:34Z michal_h21 $ +% $Id: tex4ht-4ht.tex 973 2021-08-14 10:42:30Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2021 TeX Users Group @@ -1985,12 +1985,29 @@ old and there were no such errors previously. Anyway, this code should try to patch ifthenelse using TeX4ht built-in mechanism for ifthenelse. -\<config biblatex\><<< +We defined the hook macro depending on presence of Hyperref. +I don't remember why, but it seems to works with Hyperref now, +so the package condition seems unnecessary. It even produces +an error when Hyperref is used before BibLaTeX, so I think +we should remove it. + +This sections is kept here just for the future reference, the +next section is actually used: +\<\><<< \@ifpackageloaded{hyperref}{}{% \ifdefined\TE@hook\else% \def\TE@hook{}% \fi% } +>>> + +Define TE@hook so BibLaTeX don't try to patch ifthenelse. +We put the hook ourselves thanks to Configure{ifthenelse}. + +\<config biblatex\><<< +\ifdefined\TE@hook\else% +\def\TE@hook{}% +\fi% \AtBeginDocument{% \Configure{ifthenelse}{\TE@hook} |