LaTeX Conflict – Version 2.2.4
-
(Note – the below information was tested on a fresh install of WordPress in which Tutor LMS was the only installed plugin, as shown here.)
Hi,
I’ve created hundreds of Tutor LMS lessons over the past few years containing lessons generated using LaTeX (MathJax specifically).
The equations are rendered using the following script on each lesson page.
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
With Latex now built in to Tutor LMS 2.2.4, this is causing lots of conflicts on these lesson pages as presumably a LaTeX library is now being loaded twice.
For example, consider the following equation:
\begin{align}ax^2+bx+c=0\end{align}
If I add this line on a lesson page using WP editor, in addition to the script above, it renders correctly on 2.2.3
but incorrectly on 2.2.4 (it should be centred on the page but it isn’t.)
This is just one example of many different LaTeX issues I’ve found with 2.2.4.
I have MathJax configured the way I like it and I have no interest in using the built in library included with Tutor LMS (whether it is also MathJax or something else).
Is there a setting or script that allows me to turn off the built-in LaTeX in 2.2.4?
Presumably, this is also causing page loading to take longer for every Tutor LMS user, including those who don’t use LaTeX at all, as the built-in library is checking to see if it can find any equations on each lesson page.
It therefore makes sense to have a setting to turn off the built-in LaTeX for those developers who don’t have any need for it.
- The topic ‘LaTeX Conflict – Version 2.2.4’ is closed to new replies.