Re: [O] babel for ditaa-eps

2012-09-22 Thread Bastien
Hi Thomas, t...@tsdye.com (Thomas S. Dye) writes: > Is it possible to distribute DitaaEps.jar with Org? Or, does it need to > be installed separately? I just wrote to the ditaa author. Arne told me ditaaeps works with ditaa 0.6b but not with latest ditaa 0.9, the one we are distributing. I d

Re: [O] babel for ditaa-eps

2012-09-21 Thread Bastien
Hi Thomas, t...@tsdye.com (Thomas S. Dye) writes: > Is it possible to distribute DitaaEps.jar with Org? Or, does it need to > be installed separately? We can install it along with ditaa.jar in contrib/scripts/ One question: DitaaEPS is bundled with ditaa_0.6b where we have latest ditaa 0.9 in

Re: [O] babel for ditaa-eps

2012-09-20 Thread Thomas S. Dye
Eric Schulte writes: > "Arne Babenhauserheide (IMK)" writes: > >> Hi Eric, >> >> It’s much easier to answer, what this does not share with ob-ditaa.el :) >> >> If I cut out the obvious renaming (to be able to use a ditaa-exp >> source type), it’s just this diff (and the first half of that only >

Re: [O] babel for ditaa-eps

2012-09-19 Thread Bastien
Hi Eric, Eric Schulte writes: > Should we distribute the DitaaEps.jar with Org-mode in the same manner > as we now distribute ditaa.jar? If we have permission to do this then lets do it. -- Bastien

Re: [O] babel for ditaa-eps

2012-09-19 Thread Bastien
Hi Eric, Eric Schulte writes: > Oh yes, I used file-name-nondirectory instead of file-name-directory, > and forgot the customization documentation. Here's updated version. Feel free to apply this in master -- thanks to Arne Luis and you! -- Bastien

Re: [O] babel for ditaa-eps

2012-09-16 Thread Eric Schulte
Luis Anaya writes: > Eric Schulte writes: > > Hi: > >> with the attachment :) > > I tried your patch and it seems that the defcustom needs to be changed > (at least from the way it is written in the patch. Oh yes, I used file-name-nondirectory instead of file-name-directory, and forgot the cust

Re: [O] babel for ditaa-eps

2012-09-15 Thread Luis Anaya
Eric Schulte writes: Hi: > with the attachment :) I tried your patch and it seems that the defcustom needs to be changed (at least from the way it is written in the patch. I'm attaching a diff against the original ditaa (I hope that is close enough) with the one I fixed. The only thing that is

Re: [O] babel for ditaa-eps

2012-09-13 Thread Luis Anaya
Oh, I thought that I was going blind or needed stronger bifocals :).I'll take a look at it and play with it, Thanks!Luis Original Message From: Eric Schulte Sent: Thu, Sep 13, 2012 10:51 PM To: Luis Anaya CC: emacs-orgmode@gnu.org; Arne Babenhauserheide (IMK) Subject: Re: [O] ba

Re: [O] babel for ditaa-eps

2012-09-13 Thread Eric Schulte
Eric Schulte writes: > Luis Anaya writes: > >> Eric Schulte writes: >> >> Please, provide the option to not create the PDF file at the end for >> those poor people that use Groff to create documents in which will barf >> on a PDF file. >> >> Thanks, >> >> Luis > > Good idea, > > The attached ve

Re: [O] babel for ditaa-eps

2012-09-13 Thread Eric Schulte
Luis Anaya writes: > Eric Schulte writes: > > Please, provide the option to not create the PDF file at the end for > those poor people that use Groff to create documents in which will barf > on a PDF file. > > Thanks, > > Luis Good idea, The attached version makes this change. If someone can

Re: [O] babel for ditaa-eps

2012-09-13 Thread Luis Anaya
Eric Schulte writes: Please, provide the option to not create the PDF file at the end for those poor people that use Groff to create documents in which will barf on a PDF file. Thanks, Luis -- Luis R. Anaya papo anaya aroba hot mail punto com "Do not use 100 words if you can say it in 10" - Y

Re: [O] babel for ditaa-eps

2012-09-13 Thread Eric Schulte
"Arne Babenhauserheide (IMK)" writes: > Hi Eric, > > It’s much easier to answer, what this does not share with ob-ditaa.el :) > > If I cut out the obvious renaming (to be able to use a ditaa-exp > source type), it’s just this diff (and the first half of that only > defines variables…): > Hi Arne

Re: [O] babel for ditaa-eps

2012-09-13 Thread Arne Babenhauserheide (IMK)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Eric, It’s much easier to answer, what this does not share with ob-ditaa.el :) If I cut out the obvious renaming (to be able to use a ditaa-exp source type), it’s just this diff (and the first half of that only defines variables…): - --- /usr/sha

Re: [O] babel for ditaa-eps

2012-09-12 Thread Eric Schulte
It sounds like there is a good deal of desire for this functionality. How much code does this file share with ob-ditaa? If it is a large percentage perhaps it would be possible to instead add a new header argument to ditaa code blocks to run ditaa-eps. Some code blocks (e.g., sql) already have an

Re: [O] babel for ditaa-eps

2012-09-12 Thread Thomas S. Dye
Luis Anaya writes: > "Arne Babenhauserheide (IMK)" writes: > Hi: > > I made a small changed to the code. It will look for the suffix and run > the epspdf step only if it's a pdf, otherwise, it will print the > EPS. The reason for this is because on Groff, you're better off with the > EPS file.

Re: [O] babel for ditaa-eps

2012-09-12 Thread Luis Anaya
"Arne Babenhauserheide (IMK)" writes: Hi: I made a small changed to the code. It will look for the suffix and run the epspdf step only if it's a pdf, otherwise, it will print the EPS. The reason for this is because on Groff, you're better off with the EPS file. Luis ob-ditaa-eps.el Descript

Re: [O] babel for ditaa-eps

2012-09-12 Thread Luis Anaya
"Arne Babenhauserheide (IMK)" writes: > Dear org hackers, > I don?t know if there?s already a babel-ditaa-option for using > ditaa-eps, so I modified ob-ditaa.el to use ditaa-eps and convert the > result using epstopdf. > This is great, thanks. The way I addressed this in the Groff exporter was

[O] babel for ditaa-eps

2012-09-12 Thread Arne Babenhauserheide (IMK)
Dear org hackers, I don’t know if there’s already a babel-ditaa-option for using ditaa-eps, so I modified ob-ditaa.el to use ditaa-eps and convert the result using epstopdf. Feel free to use it. ;;; ob-ditaa-eps.el --- org-babel functions for ditaa evaluation ;; Copyright (C) 2009-2012 Free So