1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
.. _tex-noerrors:
########
noerrors
########
The `noerrors` extension prevents TeX error messages from being
displayed and shows the original TeX code instead.
.. note::
In version 2 of MathJax, you could configure the CSS that
applied to the display of the original TeX. In version 3, the
original TeX is shown via an `merror` MathML element instead.
.. note::
In version 2, this extension was included in all the combined
configuration files that contain the TeX input jax, but in MathJax
version 3, you must load it explicitly if you want to use it.
To load the `noerrors` extension, add ``'[tex]/noerrors'`` to the
``load`` array of the ``loader`` block of your MathJax configuration,
and add ``'noerrors'`` to the ``packages`` array of the ``tex`` block.
.. code-block:: javascript
window.MathJax = {
loader: {load: ['[tex]/noerrors']},
tex: {packages: {'[+]': ['noerrors']}}
};
|-----|
|