diff --git a/docs/source/jsMath.rst b/docs/source/jsMath.rst index 3f40febab..767d3591f 100644 --- a/docs/source/jsMath.rst +++ b/docs/source/jsMath.rst @@ -19,13 +19,31 @@ class="math">...`` and ``
...
`` tags to mark the mathematics in your document, then you should use MathJax's ``jsMath2jax`` preprocessor when you switch to MathJax. To do this, include ``"jsMath2jax.js"`` in the `extensions` array of your -configuration, with the `jax` array set to include ``"input/TeX"``. +configuration, with the `jax` array set to include ``"input/TeX"``. For +example, -.. code-block:: javascript +.. code-block:: html - extensions: ["jsMath2jax.js"], - jax: ["input/TeX", ...] + + + +would load the ``jsMath2jax`` preprocessor, along with a configuration +file that processes TeX input and produces HTML-with-CSS output. There are a few configuration options for ``jsMath2jax``, which you -can find in the ``config/MathJax.js`` file, or in the :ref:`jsMath +can find in the ``config/default.js`` file, or in the :ref:`jsMath configuration options ` section. + +If you are generating your jsMath documents programmatically, it would be +better to convert from generating the jsMath ```` and ``
`` tags +to producing the corresponding MathJax ``