updated starmath writer #289
Conversation
|
all tests seem to be passing now -- some changes required to overcome an issue with API changes in the typst-symbols package, which was blocking the build for this PR. I patched for that, but if you have a better/different solution for that issue, please use that instead. |
|
You should be able to simply merge/rebase the commit to texmath that handles the typst-symbols changes. |
Do these work currently in LibreOffice with pandoc's current MathML output? |
|
@jgm i think the rebase is done now... hopefully the build is clean... |
|
As for the linux/stack build failure...be sure to include .github/workflows/ci.yml in your rebase; I have removed the stack build from master... |



a new PR based on the jdpipe-master plus changes to address comments from #285
to generate the visual comparison doc/pdf files (eg starmath-review.pdf) use the following:
./tools/make-starmath-review.py --output-dir /tmp/starmath-review && xdg-open /tmp/starmath-review/starmath-review.odtthis change uses the 'native' representation as the base for tests, and includes all tex-to-native tests from the existing test suite in addition to the new ones earlier provided just for starmath.
there are a number of limitations in starmath exposed. the main issue is around \mathcal and \mathbb and \mathfrak which don't exist 'easily' in LO. my solution was to request the user to select 'Latin Modern Math' as their custom 'serif' font in LO Math, and then provide these chars as unicode in the equation. converted equations include a comment telling users to do that.