Function: org-format-latex-mathml-available-p

org-format-latex-mathml-available-p is a byte-compiled function defined in org.el.gz.

Signature

(org-format-latex-mathml-available-p)

Documentation

Return t if org-latex-to-mathml-convert-command is usable.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-format-latex-mathml-available-p ()
  "Return t if `org-latex-to-mathml-convert-command' is usable."
  (save-match-data
    (when (and (boundp 'org-latex-to-mathml-convert-command)
	       org-latex-to-mathml-convert-command)
      (let ((executable (car (split-string
			      org-latex-to-mathml-convert-command))))
	(when (executable-find executable)
	  (if (string-match
	       "%j" org-latex-to-mathml-convert-command)
	      (file-readable-p org-latex-to-mathml-jar-file)
	    t))))))