PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
254 stars 203 forks source link

Explore build time mathjax rendering for HTML #2068

Open ascholerChemeketa opened 8 months ago

ascholerChemeketa commented 8 months ago

Mathjax transformation/rendering represents a significant delay to each page involving math fully.

It might make sense to do as much transformation as possible to render math into its final state as the page is built and thus reduce overhead at every page load.

https://docs.mathjax.org/en/v3.2-latest/upgrading/whats-new-3.0.html#server-side-mathjax

Alex-Jordan commented 8 months ago

Can this be done in a way that honors an end user's local preference for SVG versus CHTML?