Update to MathJax-node 1.0

Authored by Physikerwelt on Mar 21 2017, 9:36 PM.

Description

Update to MathJax-node 1.0

  • Adjust the mathoid package to be compatible with MathJax-node 1.0
  • Calculate the mathoid style attribute which was formerly done in mathjax-node
  • Add speech support adapted from

https://github.com/pkra/mathjax-node-sre/blob/master/lib/main.js

  • Add option to expose enriched pmml
  • Fix: order of expected and actual output The order of actual and expected output was swapped.
  • Fix \definecolor is unknown Explicitly load color module. See also https://github.com/mathjax/MathJax-node/issues/307
  • Do not use semantic annotations for simple tests
  • Update dependencies
  • Update reference images
  • Improve testing infrastructure
    • ignore XML inherent differences
    • improve test coverage 100% now for math related code i.e., lib/math.js, lib/render.js, routes/mathoid.js
    • Fix: Dimensions in test cases
    • Store testdata in a separate file
    • Deduplicate test code
    • Add script to adjust test
    • Add more options to skip tests
  • Support for get requests

Bug: T172767 T155201
Change-Id: I9fe1e0e5fe0585edc4f85d6a3747e3f3c748083f

Details

Committed
PhysikerweltThu, Dec 7, 1:00 PM
Parents
rGMATbfb1e342e37f: Update to service-template-node v0.5.4
Branches
Unknown
Tags
Unknown
References
refs/changes/03/370603/28
ChangeId
I9fe1e0e5fe0585edc4f85d6a3747e3f3c748083f