From 244cb40ef034a15b381151d2fc67f957efca34d8 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sat, 15 May 2021 18:48:27 +0200 Subject: Extra settings for MathJax V3 For support of the `\eqref` command (used in CGAL) in MathJax V3 a small change has to be made (for a rationale see the discussion on https://groups.google.com/g/mathjax-users/c/oS0yQLb5BMk) --- src/htmlgen.cpp | 7 +++---- templates/html/header.html | 2 +- templates/html/htmlbase.tpl | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index cde7ef2..94d9056 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -449,6 +449,7 @@ static QCString substituteHtmlKeywords(const QCString &str, if (mathJaxVersion == "MathJax_3") { + mathJaxJs += "\n"; mathJaxJs += "