org.el: Handle nil org-latex-to-mathml-jar-file

* org.el (org-create-math-formula): Handle nil
  org-latex-to-mathml-jar-file.
This commit is contained in:
Rasmus 2015-04-23 11:16:29 +02:00
parent ce4e647c21
commit 2bdc661fde
1 changed files with 4 additions and 2 deletions

View File

@ -19119,8 +19119,10 @@ inspection."
(make-temp-name (expand-file-name "ltxmathml-out"))))
(cmd (format-spec
org-latex-to-mathml-convert-command
`((?j . ,(shell-quote-argument
(expand-file-name org-latex-to-mathml-jar-file)))
`((?j . ,(and org-latex-to-mathml-jar-file
(shell-quote-argument
(expand-file-name
org-latex-to-mathml-jar-file))))
(?I . ,(shell-quote-argument tmp-in-file))
(?i . ,latex-frag)
(?o . ,(shell-quote-argument tmp-out-file)))))