On Tue, Sep 10, 2024 at 09:10:27AM +0200, Patrice Dumas wrote:
> 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.
Am I right in saying that these new settings make no difference to
how MathJax treats the output of texi2any? It only makes a difference
if the user outputs raw HTML somehow, with @html, the customization API,
and/or postprocessing texi2any output, setting the 'tex2jax_process'
class on an element?
As you say we set
options: {
ignoreHtmlClass: 'tex2jax_ignore',
processHtmlClass: 'tex2jax_process'
},
with the tex2jax_ignore class on the <body> element, so MathJax processing
is limited to where we explicitly use the 'tex2jax_process' class.