diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2010-09-21 09:46:01 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2010-09-21 09:46:01 -0600 |
commit | 2f4db36f4b011c5ba30ac31e15218c16a15671b8 (patch) | |
tree | 11d02163108b0d700457e8463770291bd254f986 | |
parent | 083f744e3c893764ddf52579ef7610c05a3ae004 (diff) | |
download | org-mode-2f4db36f4b011c5ba30ac31e15218c16a15671b8.tar.gz |
ob-plantuml: support for svg output files
* lisp/ob-plantuml.el (org-babel-execute:plantuml): support for svg
output files
-rw-r--r-- | lisp/ob-plantuml.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ob-plantuml.el b/lisp/ob-plantuml.el index b1814cf..1b44248 100644 --- a/lisp/ob-plantuml.el +++ b/lisp/ob-plantuml.el @@ -63,6 +63,8 @@ This function is called by `org-babel-execute-src-block'." (concat "java -jar " (shell-quote-argument (expand-file-name org-plantuml-jar-path)) + (if (string= (file-name-extension out-file) "svg") + "-tsvg" "") " -p " cmdline " < " (shell-quote-argument (expand-file-name in-file)) |