EPS export from Plantuml is now in beta testing; this patch makes it available 
through org-babel.

To generate an EPS from Plantuml, give your source block a ':file' with the 
extension '.eps'.

If you want to include the EPS files in PDF generated from org-export, include 
the line

    #+LaTex_header: \usepackage{epstopdf}

in your org file.

--Mike Gauland

diff --git a/lisp/ob-plantuml.el b/lisp/ob-plantuml.el
index fbebd35..b57aad6 100644
--- a/lisp/ob-plantuml.el
+++ b/lisp/ob-plantuml.el
@@ -62,6 +62,8 @@ This function is called by `org-babel-execute-src-block'."
                         (expand-file-name org-plantuml-jar-path))
                        (if (string= (file-name-extension out-file) "svg")
                            " -tsvg" "")
+                       (if (string= (file-name-extension out-file) "eps")
+                           " -teps" "")
                        " -p " cmdline " < "
                        (org-babel-process-file-name in-file)
                        " > "

Attachment: signature.asc
Description: Digital signature

Reply via email to