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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Tue Dec 4 21:40:30 CET 2018


Author: michal_h21
Date: 2018-12-04 22:40:30 +0200 (Tue, 04 Dec 2018)
New Revision: 456

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
Use \def instead of \newcommand for \AddFontFace

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2018-12-04 14:55:08 UTC (rev 455)
+++ trunk/lit/ChangeLog	2018-12-04 20:40:30 UTC (rev 456)
@@ -3,6 +3,8 @@
 	* tex4ht-html4.tex (html4-math.4ht): added "mathjax" option.
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): new literate source holding
 	definitions for keeping of LaTeX commands in math commands and environments.
+	* tex4ht-html4.tex (html4.4ht): use \def instead of \newcommand for
+	\AddFontFace, it causes compilation error.
 
 2018-11-29  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2018-12-04 14:55:08 UTC (rev 455)
+++ trunk/lit/tex4ht-html4.tex	2018-12-04 20:40:30 UTC (rev 456)
@@ -17286,7 +17286,8 @@
 
 \<external web fonts\><<<
 
-\newcommand\AddFontFace[4]{%
+% \newcommand\AddFontFace[4]{%
+\def\AddFontFace#1#2#3#4{%
 \Css{@font-face {
     font-family: #1;
     src: local("#2"),



More information about the tex4ht-commits mailing list