From 1f549499c63bd9e6345c4015f74a5475cb7fd2fa Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 29 Oct 2021 03:00:58 +0000 Subject: CTAN sync 202110290300 --- support/TeX4ht/source/ChangeLog | 16 ++++++++++++++-- support/TeX4ht/source/tex4ht-4ht.tex | 10 ++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) (limited to 'support/TeX4ht/source') diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index a78d8ac87c..c12cbded3e 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,7 +1,19 @@ +2021-10-28 Michal Hoftich + + * 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 + + * tex4ht-fonts-kpfonts.tex: use SmallCaps consistently, + to avoid SmallCaps vs. Smallcaps clash on case-insensitive + (file)systems. + 2021-10-22 Michal Hoftich - * tex4ht-4ht.tex (biblatex-hooks.4ht): load Nameref package with BibLaTeX. - https://tex.stackexchange.com/a/619816/2891 + * tex4ht-4ht.tex (biblatex-hooks.4ht): load Nameref package with + BibLaTeX. https://tex.stackexchange.com/a/619816/2891 2021-10-21 Karl Berry diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 0fb0109d49..72021dac4d 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1005 2021-10-22 07:50:38Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1007 2021-10-28 11:48:10Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2021 TeX Users Group @@ -3979,8 +3979,14 @@ styles still have issues (namely "anbt"). I've found that loading of "nameref" 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. + + \<<< -\RequirePackage{nameref} +\AddToHook{package/before/biblatex}{\RequirePackage{nameref}} >>> %%%%%%%%%%%%%%%%% -- cgit v1.2.3