[tex4ht-commits] [SCM] tex4ht updated: r380 - trunk/doc/tex4ht-doc

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Thu Feb 22 13:38:29 CET 2018


Author: michal_h21
Date: 2018-02-22 14:38:29 +0200 (Thu, 22 Feb 2018)
New Revision: 380

Modified:
   trunk/doc/tex4ht-doc/Makefile
   trunk/doc/tex4ht-doc/config.cfg
   trunk/doc/tex4ht-doc/tex4ht-doc.tex
   trunk/doc/tex4ht-doc/tex4ht-styles.sty
Log:
added note about the 'fonts' option

Modified: trunk/doc/tex4ht-doc/Makefile
===================================================================
--- trunk/doc/tex4ht-doc/Makefile	2018-02-22 11:35:10 UTC (rev 379)
+++ trunk/doc/tex4ht-doc/Makefile	2018-02-22 12:38:29 UTC (rev 380)
@@ -17,7 +17,7 @@
 	lualatex tex4ht-doc.tex
 
 tex4ht-doc.html: tex4ht-doc.tex config.cfg tex4ht-styles.sty
-	make4ht -um $(mode) -c config $(engine) -e build.mk4  tex4ht-doc.tex
+	make4ht -um $(mode) -c config $(engine) -f html5-common_domfilters -e build.mk4  tex4ht-doc.tex
 
 # use only one LaTeX run by default, request three compilations with final rule
 final: mode=final

Modified: trunk/doc/tex4ht-doc/config.cfg
===================================================================
--- trunk/doc/tex4ht-doc/config.cfg	2018-02-22 11:35:10 UTC (rev 379)
+++ trunk/doc/tex4ht-doc/config.cfg	2018-02-22 12:38:29 UTC (rev 380)
@@ -1,6 +1,6 @@
-\Preamble{xhtml,html5,mathml,2,sec-filename,info,fn-in}
+\Preamble{xhtml,html5,mathml,2,sec-filename,info,fn-in,fonts}
 \special{t4ht+ at File: style.css}
-\Configure{@HEAD}{\HCode{<link rel="stylesheet" type="text/css" href="style.css">}}
+\Configure{@HEAD}{\HCode{<link rel="stylesheet" type="text/css" href="style.css" />}}
 \Configure{texttt}{\HCode{<code>}\NoFonts}{\EndNoFonts\HCode{</code>}}
 \ConfigureEnv{texsource}{\ifvmode\IgnorePar\fi\EndP\HCode{<code>}}{\ifvmode\IgnorePar\fi\EndP\HCode{</code>}}{}{}
 \ConfigureEnv{shellcommand}{\ifvmode\IgnorePar\fi\EndP\HCode{<code>}}{\ifvmode\IgnorePar\fi\EndP\HCode{</code>}}{}{}

Modified: trunk/doc/tex4ht-doc/tex4ht-doc.tex
===================================================================
--- trunk/doc/tex4ht-doc/tex4ht-doc.tex	2018-02-22 11:35:10 UTC (rev 379)
+++ trunk/doc/tex4ht-doc/tex4ht-doc.tex	2018-02-22 12:38:29 UTC (rev 380)
@@ -28,6 +28,11 @@
 \include{sections/tex4ht-commands}
 \section{Configuration files}
 \section{Styling the Document}
+\subsection{Basic font commands}
+
+Information about the \option{fonts} option and \term{MathML} issues. Example configuration:
+\url{https://tex.stackexchange.com/a/416613/2891}
+
 \section{Use Webfonts}
 \section{Use JavaScript}
 \section{Document Navigation}

Modified: trunk/doc/tex4ht-doc/tex4ht-styles.sty
===================================================================
--- trunk/doc/tex4ht-doc/tex4ht-styles.sty	2018-02-22 11:35:10 UTC (rev 379)
+++ trunk/doc/tex4ht-doc/tex4ht-styles.sty	2018-02-22 12:38:29 UTC (rev 380)
@@ -11,6 +11,8 @@
 
 % formatting commands
 \newcommand\file[1]{\texttt{#1}}
+\newcommand\option[1]{\emph{#1}}
+\newcommand\term[1]{\emph{#1}}
 
 % this trick will enable us to take verbatim arguments
 % https://tex.stackexchange.com/a/45292/2891



More information about the tex4ht-commits mailing list