Sha256: e5e9d1a320df6cf1a40f4a264f9c125386d18a09abbd0229b8c58477e34a14a0

Contents?: true

Size: 1.42 KB

Versions: 18

Compression:

Stored size: 1.42 KB

Contents

.. _configure-MMLorHTML:

***********************************
The MMLorHTML configuration options
***********************************

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

.. code-block:: javascript

    MathJax.Hub.Config({
      MMLorHTML: {
        prefer: {
	  Opera: "MML"
	}
      }
    });

would set the ``prefer`` option so that Opera browser would prefer
MathML to HTML-CSS output (while leaving the settings for other
browsers unchanged).

Note that if you use the ``MMLorHTML.js`` configuration file, you should
**not** specify an output processor in the `jax` array of your
configuration; `MMLorHTML` will fill that in for you.

.. describe:: prefer: { MSIE: "MML", Firefox: "MML", Opera: "HTML", other: "HTML" }

   This lets you set the preferred renderer on a browser-by-browser
   basis.  You set the browser to either ``"MML"`` or ``"HTML"``
   depending on whether you want to use the `NativeMML` or `HTML-CSS`
   output processor.  Note that although Opera does process some MathML
   natively, its support is not sufficient to handle the more
   complicated output generated by MathJax, so its setting is
   ``"HTML"`` by default.



Version data entries

18 entries across 9 versions & 3 rubygems

Version Path
amiba-1.0.2 lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
amiba-1.0.2 lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt
amiba-1.0.1 lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt
amiba-1.0.1 lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
amiba-1.0.0 lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt
amiba-1.0.0 lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
amiba-0.0.9 lib/amiba/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt
amiba-0.0.9 lib/amiba/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
gollum-1.3.1 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt
gollum-1.3.1 lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
jugyo-gollum-1.3.1 lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
jugyo-gollum-1.3.1 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt
gollum-1.2.1 lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
gollum-1.2.1 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt
gollum-1.3.0 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt
gollum-1.3.0 lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
gollum-1.2.0 lib/gollum/frontend/public/javascript/MathJax/docs/rst/options/MMLorHTML.rst
gollum-1.2.0 lib/gollum/frontend/public/javascript/MathJax/docs/html/_sources/options/MMLorHTML.txt