Skip to content

V3.5.0#43

Merged
colinc86 merged 17 commits into
developfrom
v3.5.0
Apr 3, 2026
Merged

V3.5.0#43
colinc86 merged 17 commits into
developfrom
v3.5.0

Conversation

@colinc86

@colinc86 colinc86 commented Apr 3, 2026

Copy link
Copy Markdown
Owner

Speech Conversion

  • Add tex2speech, mml2speech, and am2speech methods for converting math to spoken text via the https://speechruleengine.org.
    • Supports Mathspeak speech style with English locale out of the box, plus German, French, and Spanish.
    • Includes sync, async, and batch overloads consistent with all other conversion methods.

New Conversion

  • Add am2svg for converting AsciiMath to SVG.

Bug Fixes

  • Fix ConversionOptions not being respected for SVG output (fixes ConversionOptions not respected when converting to SVG #38). Options are now passed as plain dictionaries via toDictionary() instead of JSExport proxy objects.
  • Fix CSS output (css: true) crashing in SVG and CHTML converters due to undefined variable references.
  • Fix mml2chtml async methods using self instead of the weak mathjax capture, risking retain cycles.
  • Fix dynamic font loading for extended character sets (accented Latin characters, fraktur, double-struck, etc.) that previously caused "MathJax retry" errors in the headless JSContext.

Options & Packages

  • Add LinebreakOptions for SVG and CHTML output processors.
  • Add delimiters property to AMInputProcessorOptions.
  • Add autoload, colorv2, physics, require, and setoptions TeX package constants.

Other

  • Add Apple Privacy Manifest (PrivacyInfo.xcprivacy).
  • Update npm packages.
  • Update test fixtures and add tests for speech conversion, special characters, options passthrough, parser validation, and more.

@colinc86 colinc86 merged commit 2563ab9 into develop Apr 3, 2026
1 check passed
@colinc86 colinc86 mentioned this pull request Apr 3, 2026
@colinc86 colinc86 deleted the v3.5.0 branch April 3, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants