mathml-to-latex

A JavaScript tool to convert mathml string to LaTeX equation string.

MIT License

Downloads
10.8K
Stars
52
Committers
4

Bot releases are visible (Hide)

mathml-to-latex - v1.4.1 Latest Release

Published by asnunes 4 months ago

(FIX) Updated Dependency for Security

mathml-to-latex - v1.4.0

Published by asnunes 6 months ago

(FEAT): Add MS Word tags Support
Remove mml: prefixes from tags before convert

mathml-to-latex - v1.3.0

Published by asnunes about 1 year ago

(FIX) Command-char Separation:
Solved an issue where commands and subsequent letters were unintentionally amalgamated. This update ensures seamless rendering, preventing scenarios like "\Delta x" merging into "\Deltax" for accurate mathematical notation. #13

(FEAT) Extended UTF-8 Character and Tag Attributes Support:
Expanded UTF-8 character support within the package. Introduced new automatic conversion of characters into their corresponding LaTeX commands. Also add more tag attributes support
e.g. <math><msup><mrow><mi mathvariant="double-struck">R</mi></mrow><mrow><mi>n</mi></mrow></msup></math> => \\mathbf{R}^{n} (instead previous of R^{n}) #14

(FEAT) Optimized File Bundling and Browser Compatibility:
To support apps outside a package manager, Package is now bundled into a minified file. Available in the attached files #15

(FIX) Replace old xmldom to updated @xmldom/xmldom
To fix reported security issues in the first one #12

(BC) MathMLToLaTeX is not exported default anymore
Users need to import it using

import { MathMLToLaTeX } from 'mathml-to-latex';

instead of old

import MathMLToLaTeX from 'mathml-to-latex';
mathml-to-latex - v1.2.0

Published by asnunes about 3 years ago

  • Fix Invalid regular expression on Safari
  • Add test and publish workflows
mathml-to-latex - v1.1.0

Published by asnunes over 3 years ago

  • Fix no spacing after command bug (issue #5)
  • Update dependencies
mathml-to-latex - v1.0.1

Published by asnunes almost 4 years ago

  • Fix divider parse error
  • Update dependencies