Function: org-html--math-environment-p

org-html--math-environment-p is a byte-compiled function defined in ox-html.el.gz.

Signature

(org-html--math-environment-p ELEMENT &optional _)

Documentation

Non-nil when ELEMENT is a LaTeX math environment.

Math environments match the regular expression defined in org-latex-math-environments-re. This function is meant to be used as a predicate for org-export-get-ordinal or a value to org-html-standalone-image-predicate.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defun org-html--math-environment-p (element &optional _)
  "Non-nil when ELEMENT is a LaTeX math environment.
Math environments match the regular expression defined in
`org-latex-math-environments-re'.  This function is meant to be
used as a predicate for `org-export-get-ordinal' or a value to
`org-html-standalone-image-predicate'."
  (string-match-p org-latex-math-environments-re
                  (org-element-property :value element)))