Variable: org-latex-to-html-convert-command

org-latex-to-html-convert-command is a customizable variable defined in org.el.gz.

Value

nil

Documentation

Command to convert LaTeX fragments to HTML.

This command is very open-ended: the output of the command will directly replace the LaTeX fragment in the resulting HTML. Replace format-specifiers in the command as noted below and use shell-command to convert LaTeX to HTML.
%i: The LaTeX fragment to be converted.

For example, this could be used with LaTeXML as
"latexmlc \\='literal:%i\\=' --profile=math --preload=siunitx.sty 2>/dev/null".

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

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-latex-to-html-convert-command nil
  "Command to convert LaTeX fragments to HTML.
This command is very open-ended: the output of the command will
directly replace the LaTeX fragment in the resulting HTML.
Replace format-specifiers in the command as noted below and use
`shell-command' to convert LaTeX to HTML.
%i:     The LaTeX fragment to be converted.

For example, this could be used with LaTeXML as
\"latexmlc \\='literal:%i\\=' --profile=math --preload=siunitx.sty 2>/dev/null\"."
  :group 'org-latex
  :package-version '(Org . "9.4")
  :type '(choice
	  (const :tag "None" nil)
	  (string :tag "Shell command")))