From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikhail Titov Subject: Re: [babel] java headless support is missing for most graphing languages Date: Sat, 19 May 2012 20:53:31 -0500 Message-ID: <4FB84E9B.1040007@gmx.us> References: <004b01cd3490$f66372e0$e32a58a0$@us> <87vcjs8v7o.fsf@gnu.org> <4FB83815.5090104@gmx.us> <87liknbxpz.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVvL0-0004cn-Lq for emacs-orgmode@gnu.org; Sat, 19 May 2012 21:53:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVvKx-0004Ok-HS for emacs-orgmode@gnu.org; Sat, 19 May 2012 21:53:38 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:46269) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SVvKx-0004Od-9w for emacs-orgmode@gnu.org; Sat, 19 May 2012 21:53:35 -0400 In-Reply-To: <87liknbxpz.fsf@gmx.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Bastien , emacs-orgmode@gnu.org On 05/19/2012 05:41 PM, Eric Schulte wrote: >>>> I’ve noticed that at least ditaa and plantuml fail to evaluate with >>>> babel. >>> What version of Org are you using? >> Hello, Bastien! >> >> It is 7.8.09 from default emacs 24.1.50.2 (revno: 108254). I have no X11 >> server running. >> > If I understand correctly you were able to execute successfully after > adjusting your ditaa header arguments. Is that correct? Hi Eric! Yes, it works for ditaa. However I was unable to do that for plantuml as it does not respect :java alist (?) element in a similar fashion. I had to edit ob-plantuml.el for that as it has hardcoded "java -jar" so no way to insert anything in-between. > If so then I believe ob-ditaa should be left as is, given that it works > for most cases out of the box, and that you were able to easily adjust > it to work without an X server. I am confident that for all folks working with orgmode remotely using, let's say, SSH connection without X11 tunneling, blocks calling such java tools will fail. So I'd call it a bug. Either there should be a way to supply :java to other similar "languages", or headless option should be set by default. M.