Patch quotes paths to protect from interpretation by the shell
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index b6a7769..156dbcf 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -836,7 +836,7 @@ when PUB-DIR is set, use this as the publishing
directory."
(with-current-buffer outbuf (erase-buffer))
(message "Processing LaTeX file...")
(if (and cmds (symbolp cmds))
- (funcall cmds file)
+ (funcall cmds (shell-quote-argument file))
(while cmds
(setq cmd (pop cmds))
(while (string-match "%b" cmd)
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode