Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: We identified an issue where mathjax would fail to render certain math symbols. This happens on MacOS versions Ventura and later (13+) because of a change in the OS-supplied STIX fonts. We fix this here by changing the renderer from HTML+CSS (which tries to use local STIX fonts) to SVG. This is a follow up to pytorch/botorch#2481 which solved the same problem on the botorch website. See that PR for more details | **Before** | <img width="920" alt="Screenshot 2024-08-23 at 4 40 19 PM" src="https://github.com/user-attachments/assets/6bf1e0ca-e457-4629-956d-29105b50d6e3"> | | -------- | ------- | | **After** | <img width="932" alt="Screenshot 2024-08-23 at 4 40 40 PM" src="https://github.com/user-attachments/assets/c7d804c6-fd3d-4083-beb5-123a9f535862"> | Pull Request resolved: #2707 Reviewed By: Balandat Differential Revision: D61735692 Pulled By: CristianLara fbshipit-source-id: 91a9585ebd8978f0bb1f0f25b2eab07fdda9a4b2
- Loading branch information