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
                      • Reference

                      MathType Integration Services parameters

                      Reading time: 2min

                      Reference for the configuration parameters supported by MathType Integration Services.

                      Summary

                      This reference describes the server-side configuration parameters available for MathType Integration Services. Parameters are grouped by functional area and include their purpose, supported values, default values, deployment applicability, and configuration location.

                      Configuration files

                      Deployment Configuration file
                      PHP configuration.ini
                      Java configuration.ini
                      Docker Mounted configuration.ini
                      .NET Web.config (using com.wiris.plugin.<parameter> keys)
                      Java (alternative) web.xml (using com.wiris.plugin.<parameter> context parameters)

                      Properties

                      Connection properties

                      Parameter Description Values Default Applies to Notes
                      wirisimageserviceprotocol Formula image server protocol. http, https https All Automatically determined if omitted.
                      wirisimageservicehost Formula image server host. Host name www.wiris.net All  
                      wirisimageserviceport Formula image server port. Number Automatic All Automatically determined if omitted.
                      wirisimageservicepath Formula image server path. Path /demo/editor/render All  

                      Proxy properties

                      Parameter Description Values Default Applies to Notes
                      wirisproxy Enables proxy support. true, false false All  
                      wirisproxy_host Proxy host. Host name — All Used only when wirisproxy=true.
                      wirisproxy_port Proxy port. Number — All  
                      wirisproxy_user Proxy username. String — All Optional.
                      wirisproxy_password Proxy password. String — All Optional.

                      Storage properties

                      Parameter Description Values Default Applies to
                      wiriscachedirectory Cache directory. Directory path /var/cache/ All
                      wirisformuladirectory Formula storage directory. Directory path /var/formulas/ All

                      Content properties

                      Parameter Description Values Default Applies to
                      wiriseditorsavemode Formula storage mode. xml, image, base64, safexml xml All
                      wiriseditorparsexml Parses MathML when using non-MathML save modes. true, false false All
                      wiriseditorbase64savemode Base64 storage behaviour. default, image default All
                      wirissavehandtraces Stores Hand trace data. true, false false All
                      wiriseditorparselatex Stores LaTeX as MathML with a LaTeX annotation. true, false true All

                      See Configure rendering output.

                       

                      Image properties

                      Parameter Description Values Default Applies to Notes
                      wirisimageformat Formula rendering format. svg, png svg All See Supported rendering formats.
                      wiriseditormathmlattribute Attribute used to store embedded MathML. String data-mathml All  
                      wirisaccessibilityenabled Includes accessible text in generated images. true, false true All  

                      Editor properties

                      Parameter Description Values Default Applies to Notes
                      wiriseditorenabled Enables MathType. true, false true All  
                      wirischemeditorenabled Enables ChemType. true, false true All  
                      wiriseditorwindowattributes Editor window attributes. String width=570, height=450, scroll=no, resizable=yes All  
                      wiriseditormodalwindowfullscreen Opens the editor in full-screen mode. true, false false All  
                      wiriseditorparameters Default MathType editor parameters. JSON {} All See MathType Editor parameters.

                      Cross-domain properties

                      Parameter Description Values Default Applies to Notes
                      wiriscorsenabled Enables cross-domain requests (CORS). true, false false All See Configure cross-domain requests.
                      wirisexternalplugin Enables external plugin mode. true, false false All  

                      Performance properties

                      Parameter Description Values Default Applies to
                      wirispluginperformance Returns JSON responses that can be cached instead of binary responses. true, false true All

                      Cache management

                      Parameter Description Values Default Applies to Notes
                      wiriscleancachegui Enables the cache management interface. true, false false All Enables the browser-based cache cleaning interface.
                      wiriscleancachetoken Authentication token for the cache management interface. String — All MD5-encoded token required by the cache cleaning service.

                      When cache cleaning is enabled, MathType Integration Services exposes a service for removing cached rendering files.

                      Access modes

                      Mode Description
                      GUI Browser interface enabled through wiriscleancachegui.
                      Client HTTP POST request authenticated with the configured token.

                      Client mode

                      Client mode requires the following POST parameters:

                      Parameter Description
                      token MD5-encoded cache cleaning token.
                      accept=application/json Requests a JSON response.

                      The service returns a JSON response indicating whether the cache was successfully cleaned.

                      Files removed

                      The service removes:

                      • cached rendering files.
                      • empty directories.
                      • .svg.
                      • .png.
                      • .txt.
                      • .ini.

                      When image save mode is enabled, formula metadata required for recovery is preserved.

                      Extension points

                      Parameter Description Values Default Applies to
                      wirisstorageclass Custom storage implementation. Class name — Java
                      wirisconfigurationclass Custom configuration implementation. Class name — Java
                      wirisaccessproviderenabled Enables the custom access provider. true, false false Java
                      wirisaccessproviderclass Custom access provider implementation. Class name — Java

                      wirisstorageclass specifies the custom storage implementation used by MathType Integration Services. Use this parameter to replace the default filesystem storage with a custom backend such as cloud object storage, a database, or shared storage. See Configure custom formula storage.

                       

                      Notes

                      • Parameters configured in the frontend override the corresponding values defined in wiriseditorparameters, when supported. 
                      • Some editor parameters that affect rendering can only be configured through wiriseditorparameters.
                      • Configuration examples are available in the corresponding how-to guides.

                      Related articles

                      • Configure MathType Integration Services.
                      • Configure frontend service endpoints.
                      • Configure rendering output.
                      • Configure formula storage and cache.
                      • Configure custom formula storage.
                      • Configure proxy and network settings.
                      • Configure cross-domain requests.
                      • Configure MathType editor parameters.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • MathType integrations deployment models
                      • MathType Generic Integration: Overview
                      • Deploy MathType services with Java

                      MathType Integration Services parameters

                      Summary Configuration files Properties Connection properties Proxy properties Storage properties Content properties Image properties Editor properties Cross-domain properties Performance properties Cache management Access modes Client mode Files removed Extension points Notes 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