19.4.4 MathJax Customization Variables

This table lists the customization variables which can be used when MathJax is being used, which will be the case when HTML_MATH is set to ‘mathjax’.

MATHJAX_SCRIPT

URL of the MathJax component file (e.g. tex-svg.js) you are using. texi2any provides a default value for this variable, but you are encouraged to host this file yourself on your website so that you are not dependent on others’ hosting.

MATHJAX_SOURCE

A URL of the full source code in its preferred form for modification, or instructions for obtaining such source code, for the component file named by MATHJAX_SCRIPT. ‘Preferred form for modification’ means that this should not be in a ‘minified’ form. Used in the license labels page (see HTML Customization Variables, under JS_WEBLABELS).

Again, texi2any provides a default value for this variable, but you are encouraged to host the source code for MathJax and its dependencies yourself. This is in order to make the source code available reliably, and to reduce you and your users’ dependence on others’ distribution systems.