From c0da4945882111198e05684e177152e98dc2bc99 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Wed, 1 Nov 2023 13:25:18 -0400 Subject: [PATCH] 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 --------- Co-authored-by: Bryan Richter Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- doc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 51ab333f80e..84ea8de0f2d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -102,8 +102,8 @@ # Output file base name for HTML help builder. htmlhelp_basename = 'CabalUsersGuide' -# MathJax to use SVG rendering by default -mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_SVG' +# MathJax to use HTML rendering by default (makes the text selectable, see #8453) +mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS_CHTML' # -- Options for LaTeX output ---------------------------------------------