summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog5
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex3
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex33
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/metalogo.4ht35
4 files changed, 74 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 27392b815cb..a6af10a1be3 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,8 @@
+2024-11-28 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (metalogo.4ht): fixed rendering of \XeTeX and
+ \XeLaTeX with the Metalogo package.
+
2024-11-27 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-4ht.tex (fvextra.4ht): disable redefinition of Fancyvrb's
diff --git a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
index ae235a28ecb..a95b9e2e9a7 100644
--- a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1604 2024-11-27 11:56:23Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1605 2024-11-28 14:57:28Z michal_h21 $
% Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
% Read by tex4ht-cond4ht.
%
@@ -43,6 +43,7 @@
\AddFile{9}{hypcap}
\AddFile{9}{draftwatermark}
\AddFile{9}{draftwatermark-hooks}
+\AddFile{9}{metalogo}
\AddFile{8}{fleqn}
\AddFile{7}{supertabular}
\AddFile{7}{array}
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 67d143647a4..6abad350432 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 1604 2024-11-27 11:56:23Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1605 2024-11-28 14:57:28Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -6710,6 +6710,37 @@ slow compilation.
}
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{metalogo}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<metalogo.4ht\><<<
+% metalogo.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+
+|<metalogo xetex|>
+
+\Hinput{metalogo}
+\endinput
+>>> \AddFile{9}{metalogo}
+
+The metalogo package provides alternative formatting for various variants
+of the \''\TeX' command. They mostly work out of the box, but in the
+case of XeTeX and XeLaTeX, they produce rubbish. So we will redefine them.
+
+\<metalogo xetex\><<<
+\NewConfigure{XeLaTeX}{1}
+\Configure{XeLaTeX}{Xe\LaTeX}
+\def\:tempa{\a:XeLaTeX}
+\HLet\XeLaTeX\:tempa
+
+\NewConfigure{XeTeX}{1}
+\Configure{XeTeX}{Xe\TeX}
+\def\:tempa{\a:XeTeX}
+\HLet\XeTeX\:tempa
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Chapter{Miscellaneous Environments}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/generic/tex4ht/metalogo.4ht b/Master/texmf-dist/tex/generic/tex4ht/metalogo.4ht
new file mode 100644
index 00000000000..c8513ac3849
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/metalogo.4ht
@@ -0,0 +1,35 @@
+% metalogo.4ht (2024-11-28-13:39), generated from tex4ht-4ht.tex
+% Copyright 2024 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2024-11-28-13:39}
+
+
+\NewConfigure{XeLaTeX}{1}
+\Configure{XeLaTeX}{Xe\LaTeX}
+\def\:tempa{\a:XeLaTeX}
+\HLet\XeLaTeX\:tempa
+
+\NewConfigure{XeTeX}{1}
+\Configure{XeTeX}{Xe\TeX}
+\def\:tempa{\a:XeTeX}
+\HLet\XeTeX\:tempa
+
+
+\Hinput{metalogo}
+\endinput
+