Wiris

Documentation / MathType

  • Demos
  • Visit our website
  • Downloads
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • MathType
                      • Technical documentation
                      • MathType for HTML editors
                      • Configuration
                      • MathType Integration Services configuration

                      Configure rendering output

                      Reading time: 2min

                      Configure how MathType Integration Services render formulas and how formulas are stored in your content. Rendering output determines the format generated by MathType Integration Services (such as SVG or PNG), while the save mode determines whether formulas are stored as images or as MathML.

                      After completing this guide, MathType Integration Services will render formulas using the output format that best fits your deployment.

                      Before you begin

                      Requirements

                      Make sure you have:

                      • A working MathType Integration Services deployment.
                      • Access to the configuration.ini file.
                      • Permission to restart the application if required.

                      Applies to

                      Self-hosted MathType Integration Services

                      Steps

                      Configure the rendering format

                      MathType Integration Services support multiple rendering formats. The recommended format is SVG, which provides:

                      • Resolution-independent rendering.
                      • Better accessibility.
                      • High-quality rendering on high-DPI displays.
                      • Smaller file sizes in most scenarios.

                      Use PNG only when SVG cannot be used because of application compatibility requirements. 

                      For a complete list of supported formats, see Supported rendering formats.

                       

                      Open configuration.ini and locate the rendering configuration:

                      wirisimageformat = svg

                      Set the desired format. For example:

                      wirisimageformat = svg

                      or

                      wirisimageformat = png

                      Save the configuration.

                      Configure the save mode

                      MathType can store formulas either as rendered images or as MathML. Choose the save mode that best fits your application requirements.

                      Save mode Description
                      Image Stores formulas as rendered images.
                      MathML Stores formulas as MathML while rendering them when displayed.

                      Configure the appropriate save mode in configuration.ini.

                      See MathType Integration Services parameters for the available configuration options.

                       

                      Apply the configuration

                      Depending on your deployment, configuration changes may require restarting the service.

                      Deployment Action
                      PHP Changes are typically applied immediately.
                      Java Restart the application server.
                      Docker Restart the container if the configuration file is mounted during startup.
                      .NET Restart the web application if required by your hosting environment.

                      Verify the configuration

                      Verify that the configuration endpoint returns the expected configuration.

                      See API services for the endpoint URLs available on your platform.

                       

                      Verify it worked

                      Insert a formula using your frontend integration. After saving the content:

                      • Verify that the formula is rendered correctly.
                      • Verify that the generated output matches the configured format.
                      • Verify that existing formulas can be reopened for editing.

                      You can also verify rendering using the Render Engine demo included in the Docker deployment examples.

                      Options and variations

                      Choose the rendering format

                      MathType can generate formulas in different output formats depending on your deployment requirements.

                      • SVG (recommended): scalable vector graphics suitable for modern browsers.
                      • PNG: raster images compatible with legacy environments.
                      • PDF: portable document format.
                      • EPS: encapsulated PostScript.
                      • SWF: Adobe Flash output retained for legacy compatibility only.

                      See Supported rendering formats.

                       

                      Choose the rendering mode

                      MathType supports two rendering approaches.

                      • Full MathML mode (recommended): formulas are stored as MathML and rendered by WIRISplugins.js.
                      • Image mode: formulas are stored as images for legacy compatibility.

                      See Full MathML mode.

                       

                      Common issues

                      Formulas are not rendered correctly

                      Verify that:

                      • wirisimageformat contains a supported value.
                      • MathType Integration Services have been restarted after changing the configuration.
                      • The frontend can reach the MathType Integration Services.

                      Formulas are stored in an unexpected format

                      Verify that:

                      • The configured save mode matches your deployment requirements.
                      • The deployment is using the updated configuration.
                      • Cached configuration has been refreshed after restarting the application.

                      Related articles

                      • Configure MathType Integration Services.
                      • Configure formula storage and cache.
                      • Supported rendering formats.
                      • MathType Integration Services parameters.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Using MathType
                      • MathML makes elementary math accessible

                      Configure rendering output

                      Before you begin Requirements Applies to Steps Configure the rendering format Configure the save mode Apply the configuration Verify the configuration Verify it worked Options and variations Choose the rendering format Choose the rendering mode Common issues Formulas are not rendered correctly Formulas are stored in an unexpected format Related articles

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Nubric

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand