Bastien <b...@altern.org> writes: > Nicolas Goaziou <n.goaz...@gmail.com> writes: > >> (org-element-map (plist-get info :parse-tree) >> '(latex-fragment latex-environment) 'identity info t) > > I used this, but only checking against LaTeX fragments. > HTML pages without LaTeX fragments will not include the > MathJax configuration.
I don't understand. Latex environments also require Mathjax: see `org-html-latex-environment'. Just to be sure we're not mis-communicating, a latex environment is the following: \begin{equation*} 2 + 2 = 4 \end{equation*} This is not to be confused with a latex block, such as: #+begin_latex \[2 + 2 = 4\] #+end_latex Regards, -- Nicolas Goaziou