bug: math not showing
1m1-github opened this issue · 1 comments
1m1-github commented
Context:
- version (
md-to-pdf -v
): 5.2.1 - platform (Unix, macOS, Windows): macOS
- node version: v16.17.0
Describe the bug:
Running
md-to-pdf --config-file ./mathjax-config.js README.md
creates a pdf that does not show the math correctly.
with mathjax-config.js taken from /src/test/mathjax
README.md from https://raw.githubusercontent.com/2i2i/whitepaper/fa58321285f9ed788e5679e968ee093264ef9cea/README.md
creates pdf as follows: https://imgur.com/a/rOxnSWV
simonhaenisch commented
Sorry, I never got back to you. I actually noticed that the Mathjax tests are kinda flakey on Github Actions. I wonder whether the Mathjax script is non-sync, i.e. doesn't always finish rendering the formulas before the docs gets converted to PDF.
At the moment I don't really have time to investigate it though.