-
MathType
-
WirisQuizzes
-
Nubric
-
CalcMe
-
MathPlayer
-
Store FAQ
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Full MathML mode
Reading time: 1minFull MathML mode stores formulas as MathML and delivers them to the browser as MathML when content is displayed. It is the default mode for MathType integrations version 3.50 and later.
Requirements/Prerequisites:
- MathType integration version 3.50 or later.
- Access to the integration configuration.
- The
WIRISplugins.jsscript included in the page.
Concepts:
- Full MathML mode: Formulas are stored and delivered as MathML.
- Image mode: Formulas are stored as image tags.
- WIRISplugins.js: JavaScript viewer that converts MathML into rendered formulas.
Reference details
Required script
Include one of the following scripts in the page header:
<script src="<your-plugin>/integration/WIRISplugins.js?viewer=image"></script>
Java integrations:
<script src="<pluginwiris-engine-path>/app/WIRISplugins.js?viewer=image"></script>
JavaScript-only integrations:
<script src="https://www.wiris.net/demo/plugins/app/WIRISplugins.js?viewer=image"></script>
Accessibility
WIRISplugins.js generates alternative text and adds it to the rendered formula image.
Image mode
To enable image mode:
wiriseditorsavemode=image
wirisimageformat=png
For versions higher than 4.0:
wirispluginperformance=false
Versions earlier than 3.50
Set:
_wrs_conf_saveMode = "xml"
and include the WIRISplugins.js script.
Related resources:
- WIRISplugins.js configuration
- Modified XML encoding for MathML
- Migrate MathType image formulas to MathML