[tex4ht-commits] [SCM] tex4ht updated: r973 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Sat Aug 14 12:42:30 CEST 2021
Author: michal_h21
Date: 2021-08-14 10:42:30 +0000 (Sat, 14 Aug 2021)
New Revision: 973
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
remove check for hyperref from biblatex config
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2021-08-12 20:24:34 UTC (rev 972)
+++ trunk/lit/ChangeLog 2021-08-14 10:42:30 UTC (rev 973)
@@ -1,3 +1,8 @@
+2021-08-14 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (biblatex.4ht): don't check for Hyperref when we define
+ \TE at hook macro.
+
2021-08-12 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-ooffice.tex (ooffice.4ht): added support for SVG image inclusion.
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2021-08-12 20:24:34 UTC (rev 972)
+++ trunk/lit/tex4ht-4ht.tex 2021-08-14 10:42:30 UTC (rev 973)
@@ -1985,13 +1985,30 @@
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 at hook\else%
\def\TE at hook{}%
\fi%
}
+>>>
+Define TE at hook so BibLaTeX don't try to patch ifthenelse.
+We put the hook ourselves thanks to Configure{ifthenelse}.
+
+\<config biblatex\><<<
+\ifdefined\TE at hook\else%
+\def\TE at hook{}%
+\fi%
+
\AtBeginDocument{%
\Configure{ifthenelse}{\TE at hook}
}
More information about the tex4ht-commits
mailing list.