From 2bdc661fde75ed226b19c802ecd31ce12d2ec7e1 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Thu, 23 Apr 2015 11:16:29 +0200 Subject: [PATCH] org.el: Handle nil org-latex-to-mathml-jar-file * org.el (org-create-math-formula): Handle nil org-latex-to-mathml-jar-file. --- lisp/org.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 7165c9fb9..4856ba4b2 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -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))))) -- 2.11.4.GIT