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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Feb 22 12:35:10 CET 2018


Author: michal_h21
Date: 2018-02-22 13:35:10 +0200 (Thu, 22 Feb 2018)
New Revision: 379

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-mathml.tex
Log:
Fixed 'fonts' option in MathML

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2018-02-20 09:49:09 UTC (rev 378)
+++ trunk/lit/ChangeLog	2018-02-22 11:35:10 UTC (rev 379)
@@ -1,3 +1,8 @@
+2018-02-22  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht): disabled ht-fonts for basic font formatting 
+	commands also in MathML.
+
 2018-02-20  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): disabled ht-fonts for basic font formatting

Modified: trunk/lit/tex4ht-mathml.tex
===================================================================
--- trunk/lit/tex4ht-mathml.tex	2018-02-20 09:49:09 UTC (rev 378)
+++ trunk/lit/tex4ht-mathml.tex	2018-02-22 11:35:10 UTC (rev 379)
@@ -1662,48 +1662,48 @@
 \Configure{texttt}
      {\ifmathml \Configure{@mtext}{\mml:class="texttt" 
              mathvariant="monospace" }%
-      \else     \HCode{<span class="texttt">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="texttt">}\NoFonts\fi}
+     {\ifmathml\else \EndNoFonts\HCode{</span>}\fi}
   \Configure{textit}
      {\ifmathml \Configure{@mtext}{\mml:class="textit" 
              mathvariant="italic" }%
-      \else     \HCode{<span class="textit">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="textit">}\NoFonts\fi}
+     {\ifmathml\else \EndNoFonts\HCode{</span>}\fi}
   \Configure{textrm}
      {\ifmathml \Configure{@mtext}{ \mml:class="textrm" 
              mathvariant="normal" }%
-      \else     \HCode{<span class="textrm">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="textrm">}\NoFonts\fi}
+     {\ifmathml\else \EndNoFonts\HCode{</span>}\fi}
   \Configure{textup}
      {\ifmathml \Configure{@mtext}{ \mml:class="textup" 
              mathvariant="normal" }%
-      \else     \HCode{<span class="textup">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="textup">}\NoFonts\fi}
+     {\ifmathml\else \EndNoFonts\HCode{</span>}\fi}
   \Configure{textsl}
      {\ifmathml \Configure{@mtext}{ \mml:class="textst" 
              mathvariant="italic" }%
-      \else     \HCode{<span class="textsl">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="textsl">}\NoFonts\fi}
+     {\ifmathml\else \EndNoFonts\HCode{</span>}\fi}
   \Configure{textsf}
      {\ifmathml \Configure{@mtext}{ \mml:class="textsf" 
              mathvariant="sans-serif" }%
-      \else     \HCode{<span class="textsf">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="textsf">}\NoFonts\fi}
+     {\ifmathml\else \EndNoFonts\HCode{</span>}\fi}
   \Configure{textbf}
      {\ifmathml \Configure{@mtext}{ \mml:class="textbf" 
              mathvariant="bold" }%
-      \else     \HCode{<span class="textbf">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="textbf">}\NoFonts\fi}
+     {\ifmathml\else \EndNoFonts\HCode{</span>}\fi}
   \Configure{textsc}
      {\ifmathml \Configure{@mtext}{ \mml:class="textsc" 
              mathvariant="normal" }%
-      \else     \HCode{<span class="textsc">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="textsc">}\NoFonts\fi}
+     {\ifmathml\else \EndNoFonts\HCode{</span>}\fi}
   \Configure{emph}
      {\ifmathml \Configure{@mtext}{ \mml:class="emph" 
              mathvariant="italic" }%
-      \else     \HCode{<span class="emph">}\fi}
-     {\ifmathml\else \HCode{</span>}\fi}
+      \else     \HCode{<span class="emph">}\NoFonts\fi}
+     {\ifmathml\else\EndNoFonts \HCode{</span>}\fi}
 \fi
 >>>
 



More information about the tex4ht-commits mailing list