diff options
author | Norbert Preining <norbert@preining.info> | 2021-11-07 03:01:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-11-07 03:01:05 +0000 |
commit | 8389f0bb8e6af2c5dcbfe3cdad746a9c170d1157 (patch) | |
tree | 3b49c58b6652468cb2c68b4bc8b57356bb449ebb /support | |
parent | 2ea2cee6498139387ba3c0815d105b4344c0fb50 (diff) |
CTAN sync 202111070301
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 11 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 28 |
2 files changed, 33 insertions, 6 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 9391721343..6d3301318d 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,9 +1,20 @@ +2021-11-05 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (hyperref-hooks.4ht, biblatex-hooks.4ht): + removed loading of the Nameref package from package hooks. It caused various + issues and I don't even remember what was the point. + https://puszcza.gnu.org.ua/bugs/?534 + 2021-11-04 Michal Hoftich <michal.h21@gmail.com> * tex4ht-html4.tex (html4.4ht): fix for paragraphs after AMS classes proof environment. https://tex.stackexchange.com/a/621370/2891 +2021-10-31 Karl Berry <karl@freefriends.org> + + * tex4ht-4ht.tex (biblatex-hooks.4ht): copyright 2021. + 2021-10-28 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (biblatex-hooks.4ht): use LaTeX package hooks to load diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 72021dac4d..b929a45582 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1007 2021-10-28 11:48:10Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1009 2021-11-05 17:09:29Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2021 TeX Users Group @@ -3941,7 +3941,7 @@ correctly. This just removes the error message. \<biblatex-hooks.4ht\><<< % biblatex-hooks.4ht (|version), generated from |jobname.tex -% Copyright 2020 TeX Users Group +% Copyright 2020-2021 TeX Users Group |<TeX4ht license text|> \:AtEndOfPackage{% \def\blx@mknoautolang{% @@ -3950,7 +3950,7 @@ correctly. This just removes the error message. }% |<fix biblatex lang handling|> } -|<early biblatex nameref|> +%|<early biblatex nameref|> >>> \AddFile{9}{biblatex-hooks} Some biblatex styles reported error missing English language. @@ -3973,6 +3973,11 @@ a wrong code. The saved version of that command must be used instead. \blx@lbxinput@iv{#2}{#2}{language '#2'}}} >>> +Update 2021/11/04: the following information is here for the historical reasons. +We don't load Nameref from BibLaTeX anymore. I've found that we need to +remove Nameref from hyperref-hooks.4ht and then everything works. + +Historical info: BibLaTeX and TeX4ht both redefine the \Verb|\ifthenelse| command. We take care of it in biblatex.4ht by defining the \Verb|\TE@hook| command. But some BibLaTeX styles still have issues (namely "anbt"). I've found that loading of "nameref" @@ -3984,7 +3989,7 @@ 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. - +This code is not used anymore: \<early biblatex nameref\><<< \AddToHook{package/before/biblatex}{\RequirePackage{nameref}} >>> @@ -4991,6 +4996,18 @@ We can load nameref from the early hook file % hyperref-hooks.4ht (|version), generated from |jobname.tex % Copyright 2021 TeX Users Group |<TeX4ht license text|> +% we don't have any code here for now +>>> \AddFile{9}{hyperref-hooks} + +This code used to be loaded from hyperref-hooks.4ht, but I +found that it causes serious clashes with BibLaTeX. It is +legacy code that I don't understand what is supposed to do. + +Maybe we will find that it's omission cause other issues, +but I tried three recent bug reports regarding Hyperref +and BibLaTeX and they all work better when we remove it. + +\<load nameref in hyperref hooks\><<< \:AtEndOfPackage{% \@ifpackageloaded{nameref}{} {% @@ -4999,8 +5016,7 @@ We can load nameref from the early hook file \let\label\sv:label %\input nameref.4ht }} - ->>> \AddFile{9}{hyperref-hooks} +>>> |