diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-14 22:07:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-14 22:07:07 +0000 |
commit | 1184f35d7829f1bc6ac38ef69c00727cd4cbe76d (patch) | |
tree | 608554e1d3a04616ae5a62c59954c70a868cfb2a /Master/texmf-dist/source | |
parent | 9c647dc73641a9615251bee44e433d656d05e734 (diff) |
omit hyperref check from biblatex, tex4ht r973
git-svn-id: svn://tug.org/texlive/trunk@60245 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 5 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 21 |
2 files changed, 24 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 9d23de7852e..c7de0728940 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,8 @@ +2021-08-14 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (biblatex.4ht): don't check for Hyperref when we define + \TE@hook macro. + 2021-08-12 Michal Hoftich <michal.h21@gmail.com> * tex4ht-ooffice.tex (ooffice.4ht): added support for SVG image inclusion. diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 2f3aa6f0e12..daac99a89e3 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 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} |