This file is indexed.

/usr/share/doc/libjs-mathjax-doc/html/_sources/options/preprocessors/mml2jax.rst.txt is in libjs-mathjax-doc 2.7+20171212-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.. _configure-mml2jax:

************************
The mml2jax Preprocessor
************************

The options below control the operation of the `mml2jax` preprocessor
that is run when you include ``"mml2jax.js"`` in the `extensions` array
of your configuration.  They are listed with their default values.  To
set any of these options, include a ``mml2jax`` section in your
:meth:`MathJax.Hub.Config()` call.  For example

.. code-block:: javascript

    MathJax.Hub.Config({
      mml2jax: {
        preview: "mathml"
      }
    });

would set the ``preview`` parameter to ``"mathml"``.

.. describe:: preview: "mathml"

    This controls whether `mml2jax` inserts ``MathJax_Preview`` spans to make a
    preview available, and what preview to use, when it locates
    mathematics on the page. Possible values are: ``"mathml"``, ``"alttext"``,
    , ``"altimg"``, ``"none"``, or an HTML snippet.
    
    The default is ``"mathml"``, in which case MathJax keeps the content of the
    ``<math>`` tag as the preview (until it is processed by MathJax).
    Set to ``"alttext"``, to use the ``<math>`` tag's ``alttext`` attribute
    as the preview, if the tag has one. Set to ``"altimg"`` to use an image
    described by the ``altimg*`` attributes of the ``<math>`` element.
    Set to ``"none"`` to prevent the previews from being inserted 
    (the math will simply disappear until it is typeset).
    Set to an array containing the description of an HTML snippet in order to
    use the same preview for all equations on the page (e.g., you could have
    it say ``"[math]"`` or load an image).

    Examples:

    .. code-block:: javascript

        preview: ["[math]"],     //  insert the text "[math]" as the preview

    .. code-block:: javascript

        preview: [["img",{src: "/images/mypic.jpg"}]],  // insert an image as the preview

    See the :ref:`description of HTML snippets <html-snippets>` for
    details on how to represent HTML code in this way.