Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |
5_fichiers:xml:mathml [2021/02/16 01:18] – Remise en forme de la page. Mise à jour des liens internes. Balisage du code. jejust | 5_fichiers:xml:mathml [2021/02/16 01:19] (Version actuelle) – Typos. jejust |
---|
* [[https://www.mathjax.org/|MathJax]] is the most widely used JavaScript Library for rendering mathematics. It supports several input syntaxes includedin a subset of LaTeX math syntax, and may be configured to render using several output forms, MathML, or SVG or (most commonly) HTML+CSS. While normally used as a JavaScript Library running in the reader's browser it is also possible (using its [[https://nodejs.org/|Node.js]] interface) to do the conversion in advance,and serve the generated HTML pages. | * [[https://www.mathjax.org/|MathJax]] is the most widely used JavaScript Library for rendering mathematics. It supports several input syntaxes includedin a subset of LaTeX math syntax, and may be configured to render using several output forms, MathML, or SVG or (most commonly) HTML+CSS. While normally used as a JavaScript Library running in the reader's browser it is also possible (using its [[https://nodejs.org/|Node.js]] interface) to do the conversion in advance,and serve the generated HTML pages. |
| |
* [[https://khan.github.io/KaTeX/|KaTeX]] Is a newer alternative JavasScript Library, its main aim is to be simpler and faster than MathJax. It has fewer input or output forms and covers a smaller range of LaTeX constructs, but is a viable alternative for pages that do not require the additional features of MathJax. | * [[https://khan.github.io/KaTeX/|KaTeX]] is a newer alternative JavasScript Library, its main aim is to be simpler and faster than MathJax. It has fewer input or output forms and covers a smaller range of LaTeX constructs, but is a viable alternative for pages that do not require the additional features of MathJax. |
| |
* Conversion of (La)TeX source to XML is already available (through TeX4ht at least), and work continues in that arena. The alternative, authoring in XML (thus producing documents that are immediately Web-friendly, if not ready) and using (La)TeX to typeset is also well advanced. One useful technique is [//transforming// the XML to LaTeX](FAQ-SGML2TeX), using an XSLT stylesheet or code for an XML library, and then simply using LaTeX; alternatively, one may [[5_fichiers:xml:utiliser_latex_pour_lire_du_xml|typeset direct from the XML source]]. | * Conversion of (La)TeX source to XML is already available (through TeX4ht at least), and work continues in that arena. The alternative, authoring in XML (thus producing documents that are immediately Web-friendly, if not ready) and using (La)TeX to typeset is also well advanced. One useful technique is [//transforming// the XML to LaTeX](FAQ-SGML2TeX), using an XSLT stylesheet or code for an XML library, and then simply using LaTeX; alternatively, one may [[5_fichiers:xml:utiliser_latex_pour_lire_du_xml|typeset direct from the XML source]]. |
* An interesting alternative is [[http://www.forkosh.com/mathtex.html|MathTeX]], which sits on your server as a CGI script, and you use it to include your TeX, in your HTML, as if it were an image: | * An interesting alternative is [[http://www.forkosh.com/mathtex.html|MathTeX]], which sits on your server as a CGI script, and you use it to include your TeX, in your HTML, as if it were an image: |
<code html> | <code html> |
<img src="/cgi-bin/mathtex.cgi?f(x)=\int\limits_{-\infty}^xe^{-t^2}dt"> | <img src="/cgi-bin/mathtex.cgi?f(x)=\int\limits_{-\infty}^xe^{-t^2}dt" /> |
</code> | </code> |
([[ctanpkg>Mathtex]] supersedes the author's earlier [[ctanpkg>mimetex]].) | ([[ctanpkg>mathtex|Mathtex]] supersedes the author's earlier [[ctanpkg>mimetex]].) |
| |
| |