8.9.1 • Published 6 days ago

@wiris/mathtype-viewer v8.9.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 days ago

MathType Viewer

The MathType viewer renders all MathML and LaTeX-like formulas in a webpage using the MathType rendering engine.

Usage

To use the MathType viewer in your page, just include the script dist/WIRISplugins.js:

<script src="dist/WIRISplugins.js?viewer=image" defer></script>

When loading the page now, all MathML and LaTeX formulas should be displayed as images.

Properties

The MathType viewer admits various properties.

They can be set like this:

<script src="dist/WIRISplugins.js&viewer=image" defer></script>
<script>
  window.document.addEventListener('viewerLoaded', () => {
    window.viewer.Properties.key1 = value1;
    window.viewer.Properties.key2 = value2;
    // ...
  });
</script>

Compilation

In case you want to compile the source code, you must install the NPM dependencies and then run Webpack.

First, run

yarn

to install the dependencies. Then run

yarn build

to compile the package. The output will be found in viewer/dist.

If you want to compile the package in development mode Then run

yarn build-dev

The output will be found in viewer/dist.

Documentation

For the whole specification, see here.

Privacy policy

The MathType Privacy Policy covers the data processing operations for the MathType users. It is an addendum of the company's general Privacy Policy and the general Privacy Policy still applies to MathType users.

8.9.1

6 days ago

1.5.0

18 days ago

1.4.2

2 months ago

1.4.1

3 months ago

1.4.0

3 months ago

1.3.0

5 months ago

1.2.0

7 months ago

1.1.0

9 months ago

1.2.1

5 months ago

1.0.1

11 months ago

1.0.0

11 months ago