From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: plantuml and svg format instead of png - feature request Date: Fri, 10 Sep 2010 12:40:47 -0600 Message-ID: <87tylxcuhc.fsf@gmail.com> References: <4C89291C.6050001@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=41939 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou8Wu-0001DK-OW for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 14:40:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou8Ws-0007eu-7f for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 14:40:55 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:52044) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou8Ws-0007eo-3u for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 14:40:54 -0400 Received: by gxk9 with SMTP id 9so1695659gxk.0 for ; Fri, 10 Sep 2010 11:40:53 -0700 (PDT) In-Reply-To: <4C89291C.6050001@gmail.com> (Rainer M. Krug's message of "Thu, 09 Sep 2010 20:36:12 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode Hi Rainer, If you could send me an example of how to generate an svg image using plantuml on the command line, I'll add that functionality to ob-plantuml.el. Thanks -- Eric Rainer M Krug writes: > Hi > > I just saw that a bug in plantuml is fixed - namely that -tsvg is > compatible with the -pipe optin. Therefore it should be possible top > produce svg vector graphs from plantuml. > > In a second step, these could be converted to png, pdf or ps with the > packagelibrsvg2-bin (I am using ubuntu), therefore producing high > quality graphs. > > As I don't know how to implement it, would it be possible to implement > > - that, depending on the :file name specified, either a .png or a .svg > is produced by plantuml > > The conversion to ps or pdf could then be done in a second bash script. > > Thanks, > > and I really like the plantuml integration for quickly documenting with > flowcharts while programming - brilliant. > > Rainer