Skip to content

Releases: edemaine/tex2svg-webworker

v0.6.0

Choose a tag to compare

@edemaine edemaine released this 02 Jun 22:10
  • BREAKING CHANGE: Drop support for the physics package. While this package offers some neat features like \abs{x-y} and \sin(x), it also breaks some core existing LaTeX, e.g. remapping \div from ÷ to ∇ (already available as \grad). See edemaine/cocreate#208
  • Internal changes: dependencies upgraded, and pinned for safety

Full Changelog: v0.5.1...v0.6.0

v0.5.1

Choose a tag to compare

@edemaine edemaine released this 18 Apr 17:24
  • Remove some stray code leftover from before porting to MathJax direct linking. Bundle now 1,746,086 bytes, or 596,338 bytes gzipped.
  • Switch from global to more compatible globalThis to define message handler in Web Worker.

Full Changelog: v0.5.0...v0.5.1

v0.5.0

Choose a tag to compare

@edemaine edemaine released this 16 Apr 15:42
  • Think about which MathJax extensions to include/exclude, and no longer require \require for any included packages (as this wouldn't save much in a Web Worker).
  • Bundle size reduced from 1,817,288 to 1,746,571 bytes uncompressed; and from 614,427 to 596,438 bytes gzipped.
  • Port to MathJax direct linking. (More control and slightly smaller bundle.)

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@edemaine edemaine released this 13 Apr 00:16
  • Use MathJax's noerrors extension so LaTeX errors render the LaTeX source instead of the error message, so that the math is still somewhat readable. The source renders as SVG <text> with a <rect data-background="true"/> background and <title> hover text.
  • Use MathJax's noundefined extension to render undefined commands like \foo in red, instead of triggering LaTeX error.

Full Changelog: v0.3.2...v0.4.0

v0.3.2

Choose a tag to compare

@edemaine edemaine released this 24 Jul 15:35
  • Bug fix: Prevent MathJax from looking at document (sometimes available to WebWorker) which caused a stray error (I think when same origin)
  • Bug fix: WebWorker now ignores stray messages that don't have a formula attribute, avoiding errors caused by some plugins.

v0.3.1

Choose a tag to compare

@edemaine edemaine released this 15 Jul 01:37
  • Bug fix: Remove outdated enableAssistiveMml option

v0.3.0

Choose a tag to compare

@edemaine edemaine released this 15 Jul 01:36

v0.2.0

Choose a tag to compare

@edemaine edemaine released this 14 Jul 18:40
  • Upgrade to MathJax 3.2.0
  • Document how to use via CDN

v0.1.1

Choose a tag to compare

@edemaine edemaine released this 19 Aug 15:04
  • Add missing dist directory to NPM

v0.1.0

Choose a tag to compare

@edemaine edemaine released this 14 Aug 16:26
  • Change output format to include entire input and svg key for rendering. This makes it easier to know the input being responded to, enables sending additional data (e.g. id) through the rendering loop, etc.
  • Documentation
  • Switch to production mode in webpack (no more console warnings)