Function: org-format-latex-as-html

org-format-latex-as-html is a byte-compiled function defined in org.el.gz.

Signature

(org-format-latex-as-html LATEX-FRAGMENT)

Documentation

Convert LATEX-FRAGMENT to HTML.

This uses org-latex-to-html-convert-command, which see.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-format-latex-as-html (latex-fragment)
  "Convert LATEX-FRAGMENT to HTML.
This uses  `org-latex-to-html-convert-command', which see."
  (let ((cmd (format-spec org-latex-to-html-convert-command
			  `((?i . ,latex-fragment)))))
    (message "Running %s" cmd)
    (shell-command-to-string cmd)))