diff options
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 16 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 10 |
2 files changed, 22 insertions, 4 deletions
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 <michal.h21@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@freefriends.org> + + * tex4ht-fonts-kpfonts.tex: use SmallCaps consistently, + to avoid SmallCaps vs. Smallcaps clash on case-insensitive + (file)systems. + 2021-10-22 Michal Hoftich <michal.h21@gmail.com> - * 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 <karl@freefriends.org> 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. + + \<early biblatex nameref\><<< -\RequirePackage{nameref} +\AddToHook{package/before/biblatex}{\RequirePackage{nameref}} >>> %%%%%%%%%%%%%%%%% |