Variable: org-odt-with-latex

org-odt-with-latex is a customizable variable defined in ox-odt.el.gz.

Value

t

Documentation

Non-nil means process LaTeX math snippets.

When set, the exporter will process LaTeX environments and fragments.

This option can also be set with the +OPTIONS line, e.g. "tex:dvipng". Allowed values are:

nil Ignore math snippets.
t, mathml Convert the LaTeX fragments to MathML if the
               org-latex-to-mathml-convert-command is usable.
SYMBOL Convert the LaTeX fragments to images using any symbol
               defined in org-preview-latex-process-alist, e.g.,
               dvipng.
verbatim Keep everything in verbatim.

If the desired converter is not available or any other symbol is provided, process as verbatim.

This variable was added, or its default value changed, in Org version
9.8.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-odt.el.gz
;;;; LaTeX

(defcustom org-odt-with-latex org-export-with-latex
  "Non-nil means process LaTeX math snippets.

When set, the exporter will process LaTeX environments and
fragments.

This option can also be set with the +OPTIONS line,
e.g. \"tex:dvipng\".  Allowed values are:

nil            Ignore math snippets.
t, `mathml'    Convert the LaTeX fragments to MathML if the
               `org-latex-to-mathml-convert-command' is usable.
SYMBOL         Convert the LaTeX fragments to images using any symbol
               defined in `org-preview-latex-process-alist', e.g.,
               `dvipng'.
`verbatim'     Keep everything in verbatim.

If the desired converter is not available or any other symbol is
provided, process as `verbatim'."
  :package-version '(Org . "9.8")
  :type `(choice
          (const :tag "Do not process math in any way" nil)
          (choice :tag "Convert fragments to MathML" :value t
                  (const t)
                  (const mathml))
          (restricted-sexp :tag "Convert fragments to images"
                           :value ,(caar org-preview-latex-process-alist)
                           :match-alternatives
                           (,(lambda (v)
                               (assq v org-preview-latex-process-alist))))
          (const :tag "Leave math verbatim" verbatim))
  :safe #'always)