From: "Eric Schulte" <schulte.eric@gmail.com>
To: Michael Gauland <mikelygee@no8wireless.co.nz>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] EPS support for ob-plantuml
Date: Wed, 30 Mar 2011 23:25:59 -0600 [thread overview]
Message-ID: <87ipuzq2s8.fsf@gmail.com> (raw)
In-Reply-To: <20110326033917.GA19537@planet8> (Michael Gauland's message of "Sat, 26 Mar 2011 16:39:17 +1300")
I've applied this patch. Thanks for contributing! -- Eric
Michael Gauland <mikelygee@no8wireless.co.nz> 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)
> " > "
prev parent reply other threads:[~2011-03-31 5:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-26 3:39 [PATCH] EPS support for ob-plantuml Michael Gauland
2011-03-31 5:25 ` Eric Schulte [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ipuzq2s8.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mikelygee@no8wireless.co.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).