From ce5a5c00ecfa1fd6d778dbd3dd7b474144ed5a5d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 21 Nov 2022 22:15:03 +0000 Subject: disable \babelfont, tex4ht r1244; spurious space after \ref, tex4ht r1245; spurious space in biblatex in-text citations, tex4ht r1246 git-svn-id: svn://tug.org/texlive/trunk@65076 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 11 +++++++++ .../source/generic/tex4ht/tex4ht-4ht.tex | 26 +++++++++++++++++----- 2 files changed, 31 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index a9fe288e21d..47acd724602 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,14 @@ +2022-11-21 Michal Hoftich + + * tex4ht-4ht.tex (biblatex.4ht): removed spurious space from in text + citations. + + * tex4ht-4ht.tex (nameref.4ht): removed spurious space after \ref. + + * tex4ht-4ht.tex (babel-sty-hooks.4ht): disable the \babelfont + command. + https://github.com/michal-h21/tex4ebook/issues/94 + 2022-11-20 Karl Berry * tex4ht-4ht.tex (authblk.4ht, caption-hooks.4ht): copyright 2022. diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index f007b9e8c34..d7e023a1323 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 1243 2022-11-20 15:09:18Z karl $ +% $Id: tex4ht-4ht.tex 1246 2022-11-21 21:00:44Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2022 TeX Users Group @@ -2837,7 +2837,7 @@ Fix backlink support in BibLaTeX \html:addr\Link-{}{|\last:haddr}\EndLink% % save link to the .xref file % we need to use \protected@write to get correct page numbers in backrefs - \protected@write\:refout{}{\string\:CrossWord{)Q##1\thepage}{|\last:haddr}{\folio}} + \protected@write\:refout{}{\string\:CrossWord{)Q##1\thepage}{|\last:haddr}{\folio}}% % we need to save the link destination in .xref file % too, otherwise \Link command would issue warning \Tag{)Q|\last:haddr}{\FileNumber}% @@ -3588,11 +3588,11 @@ definitions. \let\T:ref=\::ref \def\::ref{\@ifstar{\protect\T@ref}{\protect\T@ref}} \def\T@ref#1{% - \@safe@activestrue - \let\::ref \T:ref + \@safe@activestrue% + \let\::ref\T:ref% \expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}% - \def\::ref{\@ifstar{\protect\T@ref}{\protect\T@ref}} - \@safe@activesfalse + \def\::ref{\@ifstar{\protect\T@ref}{\protect\T@ref}}% + \@safe@activesfalse% } \gdef\defineautorefname#1#2{% @@ -24007,9 +24007,23 @@ Handle circumflex catcodes when the \Verb|early^| option is used. % Copyright 2022 TeX Users Group | | +| >>> \AddFile{9}{babel-sty-hooks} +The babelfont command can be used in the document preamble. +It can cause fatal errors, because it changes font encodings +and can cause loating of OTF fonts + +\<<< +\NewDocumentCommand\:babelfont{o m o m}{} + +\:AtEndOfPackage{% + % disable \babelfont + \let\babelfont\:babelfont +} +>>> + %%%%%%%%%%%%%%%%%%%%%% \Section{CJK} %%%%%%%%%%% -- cgit v1.2.3