summaryrefslogtreecommitdiff
path: root/support/TeX4ht/source/tex4ht-4ht.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/TeX4ht/source/tex4ht-4ht.tex')
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex26
1 files changed, 20 insertions, 6 deletions
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index f007b9e8c3..d7e023a132 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/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-{}{|<haddr prefix|>\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}{|<haddr prefix|>\last:haddr}{\folio}}
+ \protected@write\:refout{}{\string\:CrossWord{)Q##1\thepage}{|<haddr prefix|>\last:haddr}{\folio}}%
% we need to save the link destination in .xref file
% too, otherwise \Link command would issue warning
\Tag{)Q|<haddr prefix|>\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
|<TeX4ht license text|>
|<disable early sup|>
+|<babelfont|>
>>>
\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
+
+\<babelfont\><<<
+\NewDocumentCommand\:babelfont{o m o m}{}
+
+\:AtEndOfPackage{%
+ % disable \babelfont
+ \let\babelfont\:babelfont
+}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%
\Section{CJK}
%%%%%%%%%%%