From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: [babel] bug in ob-plantuml.el Date: Thu, 30 Sep 2010 20:39:38 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0455509001==" Return-path: Received: from [140.186.70.92] (port=58052 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1O2f-00026m-M3 for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 14:39:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1O2d-0003kj-Kg for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 14:39:41 -0400 Received: from mail-qy0-f176.google.com ([209.85.216.176]:38065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1O2d-0003kS-Gn for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 14:39:39 -0400 Received: by qyk36 with SMTP id 36so2455602qyk.0 for ; Thu, 30 Sep 2010 11:39:38 -0700 (PDT) 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: Eric Schulte , emacs-orgmode --===============0455509001== Content-Type: multipart/alternative; boundary=00163630f3977b521e04917e66b1 --00163630f3977b521e04917e66b1 Content-Type: text/plain; charset=ISO-8859-1 Hi I just found a bug in ob-plantuml.el (if (string= (file-name-extension out-file) "svg") "-tsvg" "") needs to be changed to (if (string= (file-name-extension out-file) "svg") " -tsvg" "") as otherwise, when using the file name extension .svg, the -tsvg is concatenated behing -jar without space producing an error message. Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: Rainer@krugs.de Skype: RMkrug Google: R.M.Krug@gmail.com --00163630f3977b521e04917e66b1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi

I just found a bug in=A0ob-plantuml.el

(if (string=3D (file-name-extension out-file) "s= vg")
=A0 =A0"-tsvg" "")

needs to be changed to
=A0
(if (str= ing=3D (file-name-extension out-file) "svg")
=A0 =A0" -ts= vg" "")


as otherwise, when using the file name e= xtension .svg, the -tsvg is concatenated behing -jar without space producin= g an error message.

Cheers,

Rainer

--
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug,= PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Ph= ys. (Germany)

Centre of Excellence for Invasion Biology
Natural S= ciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenu= e
Stellenbosch
South Africa

Cell:=A0 =A0 =A0 =A0 =A0=A0 +27 - = (0)83 9479 042
Fax:=A0 =A0 =A0 =A0 =A0 =A0 +27 - (0)86 516 2782
Fax:= =A0 =A0 =A0 =A0 =A0 =A0 +49 - (0)321 2125 2244
email:=A0 =A0 =A0 =A0 =A0 Rainer@krugs.d= e

Skype:=A0 =A0 =A0 =A0 =A0 RMkrug
Google:=A0 =A0 =A0 =A0=A0 = R.M.Krug@gmail.com

--00163630f3977b521e04917e66b1-- --===============0455509001== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0455509001==--