Variable: org-html-with-latex

org-html-with-latex is a customizable variable defined in ox-html.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:mathjax". Allowed values are:

  nil Ignore math snippets.
  verbatim Keep everything in verbatim
  mathjax, t Do MathJax preprocessing and arrange for MathJax.js to
                be loaded.
  html Use org-latex-to-html-convert-command to convert
                LaTeX fragments to HTML.
  SYMBOL Any symbol defined in org-preview-latex-process-alist,
                e.g., dvipng.

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

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
(defcustom org-html-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:mathjax\".  Allowed values are:

  nil           Ignore math snippets.
  `verbatim'    Keep everything in verbatim
  `mathjax', t  Do MathJax preprocessing and arrange for MathJax.js to
                be loaded.
  `html'        Use `org-latex-to-html-convert-command' to convert
                LaTeX fragments to HTML.
  SYMBOL        Any symbol defined in `org-preview-latex-process-alist',
                e.g., `dvipng'."
  :group 'org-export-html
  :version "24.4"
  :package-version '(Org . "8.0")
  :type '(choice
	  (const :tag "Do not process math in any way" nil)
	  (const :tag "Leave math verbatim" verbatim)
	  (const :tag "Use MathJax to display math" mathjax)
	  (symbol :tag "Convert to image to display math" :value dvipng)))