Skip to content

Commit 547d4e1

Browse files
ulysses4everchreekatmergify[bot]
authored andcommitted
doc: render math with HTML to make it selectable (fix #8453) (#9361)
* doc: render math with HTML to make it selectable (fix #8453) * Update doc/conf.py Co-authored-by: Bryan Richter <[email protected]> --------- Co-authored-by: Bryan Richter <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 0aa249b commit 547d4e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@
102102
# Output file base name for HTML help builder.
103103
htmlhelp_basename = 'CabalUsersGuide'
104104

105-
# MathJax to use SVG rendering by default
106-
mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_SVG'
105+
# MathJax to use HTML rendering by default (makes the text selectable, see #8453)
106+
mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS_CHTML'
107107

108108

109109
# -- Options for LaTeX output ---------------------------------------------

0 commit comments

Comments
 (0)