Documenter.jl
Documenter.jl copied to clipboard
Some issues with latex math in Safari
Apparently the change to KaTeX is causing some issues in certain browsers.
This is in Safari (see the tilde position):

This is the same snippet in Chrome:

Changing back to MathJax solves the issue.
Is this reproducible separately from Documenter? It looks like an upstream issue.
https://meta.mathoverflow.net/questions/3207/mathjax-accents-in-safari-10-1#3207 looks like the same thing.
Oops that was for mathjax and not katex...
Reading the thread you linked, it looks like a certain Safari version caused this issue and MathJax has fixed it, it is likely that KaTeX has not.
What's the policy on leaving upstream issues open? There doesn't seem to be anything here for documenter to fix.
Would be good to see if it is fixed upstream and in that case upgrade the dependency here in Documenter.
If I recall correctly, this was the page I used as example, where the tildes were misplaced: https://lampspuc.github.io/ScoreDrivenModels.jl/latest/manual/#Links-1
I have opened it with Chrome and Safari and both look fine.
edit: Oh, reading the original issue again, I had changed to MathJax to fix it (here). So it would be good to test it with KaTeX.