From dd718ebc331dcb6376f075c06a6d234b2426e997 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 28 Oct 2021 20:03:51 +0000 Subject: load nameref via latex hooks, tex4ht r1007 git-svn-id: svn://tug.org/texlive/trunk@60883 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 16 ++++++++++++++-- Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 10 ++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/source/generic') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index a78d8ac87cc..c12cbded3e6 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index 0fb0109d494..72021dac4da 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 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