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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Apr 29 23:14:15 CEST 2021


Author: michal_h21
Date: 2021-04-29 21:14:15 +0000 (Thu, 29 Apr 2021)
New Revision: 917

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
Keep some Greek characters upright

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-04-27 16:07:43 UTC (rev 916)
+++ trunk/lit/ChangeLog	2021-04-29 21:14:15 UTC (rev 917)
@@ -1,3 +1,8 @@
+2021-04-29  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): keep some Greek characters upright.
+	https://tex.stackexchange.com/a/595005/2891
+
 2021-04-27  Karl Berry  <karl at freefriends.org>
 
 	* Makefile (inst-check-files): new target.

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2021-04-27 16:07:43 UTC (rev 916)
+++ trunk/lit/tex4ht-mathml.tex	2021-04-29 21:14:15 UTC (rev 917)
@@ -3441,7 +3441,27 @@
 \:tempb{gcd}
 >>>
 
+%%%%%%%%%%%%%%%
+\subsection{Upright letters}
+%%%%%%%%%%%%%%%
 
+The following commands should produce upright characters. So we redefine them
+to produce mi elements with mathvariant attribute, that hold their Unicode
+charactes.
+
+\<configure mathml latex\><<<
+\def\:temp#1#2{\def#1{\PauseMathClass\HCode{<mi mathvariant="normal">}\ht:special{t4ht at +\string&{35}x#2{59}}\a:HChar\HCode{</mi>}\EndPauseMathClass}}
+\:temp\Psi{03A8}
+\:temp\Delta{0394}
+\:temp\Xi{039E}
+\:temp\Pi{03A0}
+\:temp\Sigma{03A3}
+\:temp\Upsilon{03A5}
+\:temp\Omega{03A9}
+>>>
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \section{Sized Operations}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.