From 1ab032800fc74d081beac1bbe3025466de26d618 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 22 Oct 2023 21:21:32 -0400 Subject: [PATCH] doc: render math with HTML to make it selectable (fix #8453) --- doc/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 51ab333f80e..cd88758c6a3 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 selectableable, see #8453) +mathjax_path = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js' # -- Options for LaTeX output ---------------------------------------------