[tex4ht-commits] [SCM] tex4ht updated: r1191 - trunk/web

Karl Berry INVALID.NOREPLY at gnu.org.ua
Mon Aug 29 23:24:13 CEST 2022


Author: karl
Date: 2022-08-29 21:24:12 +0000 (Mon, 29 Aug 2022)
New Revision: 1191

Modified:
   trunk/web/ChangeLog
   trunk/web/index.html
Log:
mathjax examples

Modified: trunk/web/ChangeLog
===================================================================
--- trunk/web/ChangeLog	2022-08-29 10:21:19 UTC (rev 1190)
+++ trunk/web/ChangeLog	2022-08-29 21:24:12 UTC (rev 1191)
@@ -1,3 +1,8 @@
+2022-08-29  Karl Berry  <karl at freefriends.org>
+
+	* index.html: show mathml/mathjax and latex/mathjax examples
+	 (via Dick Koch).
+
 2022-08-18  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* index.html: added link to the new documentation.
@@ -6,8 +11,8 @@
 
 	* development.html: working on splitting text to subpages.
 	* index.html: removed spurious lines from code listings.
-	* mainheader.html: put main menu to a standalone file that can be sourced
-	from other files.
+	* mainheader.html: put main menu to a standalone file that can be
+	sourced from other files.
 
 2020-07-03  Michal Hoftich  <michal.h21 at gmail.com>
 

Modified: trunk/web/index.html
===================================================================
--- trunk/web/index.html	2022-08-29 10:21:19 UTC (rev 1190)
+++ trunk/web/index.html	2022-08-29 21:24:12 UTC (rev 1191)
@@ -20,18 +20,13 @@
 
 <ul>
   <li>it supports most LaTeX packages and custom commands, including:
-    <ul>
-      <li>BibLaTeX</li>
-      <li><a href="https://tex.stackexchange.com/a/488741/2891">TikZ</a></li>
-      <li>Fontspec</li>
-    </ul>
+      BibLaTeX,
+      <a href="https://tex.stackexchange.com/a/488741/2891">TikZ</a>,
+      Fontspec
   </li>
-  <li>it supports various input format, apart from LaTeX:
-    <ul>
-      <li><a href="https://www.kodymirus.cz/pythontex-tex4ht/pythontex-gallery.html">PythonTeX</a></li>
-      <li><a href="https://tex.stackexchange.com/a/506439/2891">RMarkdown</a> and other formats supported by Knitr and Pandoc</li>
-
-    </ul>
+  <li>it supports various input formats, apart from LaTeX:
+      <a href="https://www.kodymirus.cz/pythontex-tex4ht/pythontex-gallery.html">PythonTeX</a>,
+      <a href="https://tex.stackexchange.com/a/506439/2891">RMarkdown</a> and other formats supported by Knitr and Pandoc
   </li>
   <li>extensive support for modification of the output</li>
   <li>output formats include HTML 5, ODT and Docbook</li>
@@ -104,6 +99,21 @@
 <samp>$ <kbd>make4ht file.tex "mathml"</kbd></samp>
 </pre>
 
+<p>If you want to have MathJax (rather than the browser) rasterize the MathML:
+<pre>
+<samp>$ <kbd>make4ht file.tex "mathml,mathjax"</kbd></samp>
+</pre>
+
+<p>But perhaps the best method of all is to insert LaTeX into the HTML
+output, and have MathJax rasterize the LaTeX:
+<pre>
+<samp>$ <kbd>make4ht file.tex "mathjax"</kbd></samp>
+</pre>
+
+<p>This has the additional advantage (thanks to MathJax) that
+right-clicking on any equation in the HTML brings up a menu offering to
+provide the source for the equation.
+
 <h3>Bug reports</h3>
 
 <p>Bug reports are welcome by email or by submission to the <a



More information about the tex4ht-commits mailing list.