[tex4ht-commits] [SCM] tex4ht updated: r1007 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Oct 28 13:48:11 CEST 2021


Author: michal_h21
Date: 2021-10-28 11:48:10 +0000 (Thu, 28 Oct 2021)
New Revision: 1007

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
use latex package hooks to load nameref

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-10-22 21:57:32 UTC (rev 1006)
+++ trunk/lit/ChangeLog	2021-10-28 11:48:10 UTC (rev 1007)
@@ -1,3 +1,9 @@
+2021-10-28  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (biblatex-hooks.4ht): use LaTeX package hooks to load
+	Nameref.
+	https://tex.stackexchange.com/a/620503/2891
+
 2021-10-22  Karl Berry  <karl at freefriends.org>
 
 	* tex4ht-fonts-kpfonts.tex: use SmallCaps consistently,

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-10-22 21:57:32 UTC (rev 1006)
+++ trunk/lit/tex4ht-4ht.tex	2021-10-28 11:48:10 UTC (rev 1007)
@@ -3979,8 +3979,14 @@
 package helps in this case. 
 \Link[https://tex.stackexchange.com/a/619816/2891]{}{}More info\EndLink.
 
+We also need to post-pone the Nameref loading outside of the hooks file, as
+it seems to cause other issues if we used \Verb|\RequirePackage| directly.
+We can utilize the LaTeX hook system for that.
+\Link[https://tex.stackexchange.com/a/620503/2891]{}{}See this issue\EndLink.
+
+
 \<early biblatex nameref\><<<
-\RequirePackage{nameref}
+\AddToHook{package/before/biblatex}{\RequirePackage{nameref}}
 >>>
 
 %%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.