On Fri, Sep 06, 2024 at 12:28:48PM +0200, Patrice Dumas wrote:
> Hello,
>
> I propose to set the following in mathjax defaults, to avoid possible
> interactions with text (although it may not be possible anyway because
> of ignoreHtmlClass set in body), and perhaps simplifying the task of mathjax:
>
> tex: {
> processEscapes: false, // use \$ to produce a literal dollar sign
> processEnvironments: false, // process \begin{xxx}...\end{xxx} outside
> math mode
> processRefs: false, // process \ref{...} outside of math mode
> displayMath: [ // start/end delimiter pairs for display math
> ['\\[', '\\]']
> ],
> }
It is commited. If it is problematic in some situation, do not hesitate
to report.
--
Pat