mathjax / mathjax/MathJax-demos-node
tex2svg-page: global svg cache not rendering in safari
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 114
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
When running tex2svg-page on a set of HTML files, (both litedom and jsdom), math is rendered correctly when cache is none or local, but when the cache is global, latest safari on macos and on iPad (as well as chrome on iPad, which I think uses the safari webview) fail to render the SVG, leaving blank spaces.
Both chrome and firefox render correctly with the global cache, it is only safari which seems to have issues.
When using the mathjax javascript with global cache on the site, instead of pre-rendering math, everything is rendered correctly, so there seems to be some difference between pre-rendered by tex2svg-page and rendered live on Safari.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tex2svg-page path that handles the global cache and reproduce the issue using the HTML-file set under Safari on macOS or iPad. Compare its pre-rendered output with the none and local cache modes and with live MathJax rendering. Done means global-cache output renders math correctly in the affected Safari environments without regressing Chrome or Firefox.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100