emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] EPS support for ob-plantuml


From: Eric Schulte
Subject: Re: [O] [PATCH] EPS support for ob-plantuml
Date: Wed, 30 Mar 2011 23:25:59 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

I've applied this patch.  Thanks for contributing! -- Eric

Michael Gauland <address@hidden> writes:

> 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)
>                       " > "



reply via email to

[Prev in Thread] Current Thread [Next in Thread]