Closed StevenJenkinsJPL closed 2 months ago
@StevenJenkinsJPL Thank you for raising this! I can reproduce this in RStudio Desktop and RStudio Server 2022.12.0+353 and 2023.03.0+386, but works correctly in 2022.07.2+576. Even a very simple sqrt
is malformed:
$$
\sqrt{ -1 }
$$
shows up as
This happens for both previews and knitted files, both in the Viewer Pane and in a browser.
Could be fixed by updating mathjax ? https://github.com/rstudio/rstudio/issues/11535
FWIW mathjax.rstudio.com/latest has been updated to 2.7.9 - I don't know if this fixed the issue.
@cderv It is! Closing.
System details
Steps to reproduce the problem
Create an RMarkdown document containing this displayed equation:
Preview in Viewer Pane.
Describe the problem in detail
The square root symbol is displayed correctly in the inline preview but not in the Viewer Pane. There appear to be missing glyphs.
The generated HTML displays correctly with Safari 16.3 (18614.4.6.1.6) and Firefox 102.9.0esr (64-bit) but not with Chrome 111.0.5563.64 (Official Build) (x86_64).
I have not processed the document giving me this problem in some months. I know it worked at some point last year but I can't say exactly when the problem first occurred.
It looks like it could be a bug in Chrome but if the Viewer Pane uses Chrome it projects into RStudio.
No errors are reported during rendering:
Describe the behavior you expected
Square root symbol rendered correctly.