On 9/6/24 9:29 AM, Patrice Dumas wrote:
On Fri, Sep 06, 2024 at 08:47:05AM -0700, Raymond Toy wrote:
On 9/6/24 3:28 AM, 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
['\\[', '\\]']
],
}
Any comment?
What are the current values for these? I’m most worried that if these are
different, you’ll break lots of existing uses. Maxima’s user manual
<https://maxima.common-lisp.dev/docs/index.html> uses Mathjax a lot to get
nice HTML display of math.
The change in settings may only affect LaTeX rendered by MathJax outside
of @math and @displaymath, using different structures as what is done in
texi2any. This would be possible if you directly ouput HTML like
Ok, Maxima’s manual doesn’t do that. All math should be done my @math or
@displaymath. At least that’s how it’s supposed to be in the manual.
Do you have a page which shows some math that are rendered by MathJax?
Sure. See this section on Bessel functions
<https://maxima.common-lisp.dev/docs/Special-Functions.html#Bessel-Functions>.
There are lots of examples in the Special Functions section.