[tex4ht-commits] [SCM] tex4ht updated: r1605 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Nov 28 15:57:28 CET 2024


Author: michal_h21
Date: 2024-11-28 14:57:28 +0000 (Thu, 28 Nov 2024)
New Revision: 1605

Modified:
   trunk/lit/ChangeLog
   trunk/lit/mktex4ht-cnf.tex
   trunk/lit/tex4ht-4ht.tex
Log:
added metalogo package support

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-11-27 11:56:23 UTC (rev 1604)
+++ trunk/lit/ChangeLog	2024-11-28 14:57:28 UTC (rev 1605)
@@ -1,3 +1,8 @@
+2024-11-28  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (metalogo.4ht): fixed rendering of \XeTeX and
+	\XeLaTeX with the Metalogo package.
+
 2024-11-27  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (fvextra.4ht): disable redefinition of Fancyvrb's

Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex	2024-11-27 11:56:23 UTC (rev 1604)
+++ trunk/lit/mktex4ht-cnf.tex	2024-11-28 14:57:28 UTC (rev 1605)
@@ -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}

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-11-27 11:56:23 UTC (rev 1604)
+++ trunk/lit/tex4ht-4ht.tex	2024-11-28 14:57:28 UTC (rev 1605)
@@ -6710,6 +6710,37 @@
 }
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%%%%
+\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}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  



More information about the tex4ht-commits mailing list.