From dd69e979b4a8fdd0bb70306e0afb339720659dc5 Mon Sep 17 00:00:00 2001 From: rjhwelsh Date: Thu, 17 May 2018 15:36:41 +1200 Subject: [PATCH] Update ob-plantuml.el --- lisp/ob-plantuml.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ob-plantuml.el b/lisp/ob-plantuml.el index 9a9313e7b..3326a6419 100644 --- a/lisp/ob-plantuml.el +++ b/lisp/ob-plantuml.el @@ -92,7 +92,9 @@ This function is called by `org-babel-execute-src-block'." (if (string= (file-name-extension out-file) "eps") " -teps" "") (if (string= (file-name-extension out-file) "pdf") - " -tpdf" "") + " -tpdf" "") + (if (string= (file-name-extension out-file) "tex") + " -tlatex" "") (if (string= (file-name-extension out-file) "vdx") " -tvdx" "") (if (string= (file-name-extension out-file) "xmi")