emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] bug in ob-plantuml.el
@ 2010-09-30 18:39 Rainer M Krug
  2010-09-30 20:17 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Rainer M Krug @ 2010-09-30 18:39 UTC (permalink / raw)
  To: Eric Schulte, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 862 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1413 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [babel] bug in ob-plantuml.el
  2010-09-30 18:39 [babel] bug in ob-plantuml.el Rainer M Krug
@ 2010-09-30 20:17 ` Eric Schulte
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Schulte @ 2010-09-30 20:17 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: emacs-orgmode

Ah, Fixed, Thanks -- Eric

Rainer M Krug <r.m.krug@gmail.com> writes:

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-30 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30 18:39 [babel] bug in ob-plantuml.el Rainer M Krug
2010-09-30 20:17 ` Eric Schulte

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