Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: math not showing #157

Open
1m1-github opened this issue Jan 22, 2023 · 1 comment
Open

bug: math not showing #157

1m1-github opened this issue Jan 22, 2023 · 1 comment
Labels

Comments

@1m1-github
Copy link

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

@1m1-github 1m1-github added the bug label Jan 22, 2023
@simonhaenisch
Copy link
Owner

simonhaenisch commented Apr 24, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants