summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-11-28 21:43:42 +0000
committerKarl Berry <karl@freefriends.org>2024-11-28 21:43:42 +0000
commitb363a69e8dd67766f4451a3655471b257ff52ef0 (patch)
tree46296413c5f1465a992cbe9060118eaa7d24d7cf /Master/texmf-dist/source
parent6ba16190f6915e9cd013f960a212284b3d3eec11 (diff)
\Xe(La)TeX with metalogo, tex4ht r1605
git-svn-id: svn://tug.org/texlive/trunk@72996 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-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
3 files changed, 39 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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%