From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Loris Bennett" Subject: Re: Avoiding recompilation of ditaa ASCII if unmodified between exports Date: Fri, 24 Apr 2015 07:48:45 +0200 Message-ID: <874mo6nkjm.fsf@hornfels.zedat.fu-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlWTy-0002vT-PE for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 01:48:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlWTt-00055F-Py for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 01:48:58 -0400 Received: from plane.gmane.org ([80.91.229.3]:36223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlWTt-00054r-Ir for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 01:48:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YlWTr-0005Vx-2k for emacs-orgmode@gnu.org; Fri, 24 Apr 2015 07:48:51 +0200 Received: from zab1d.pia.fu-berlin.de ([87.77.171.29]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 07:48:51 +0200 Received: from loris.bennett by zab1d.pia.fu-berlin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Apr 2015 07:48:51 +0200 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: emacs-orgmode@gnu.org Hi, Rob Stewart writes: > Hi, > > I really appreciate the integration with ditaa and org mode. > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ditaa.html > > I have an Org mode document with 5 ditaa diagrams, and exporting my > Org file is taking quite a long time, about 10 seconds to compile 5 > ditaa diagrams + HTML export. > > At the moment, even if I don't modify any of the ditaa ASCII, all 5 > are compiled from ASCII to a PNG. Is there a way ask ditaa to only > generate a new PNG file if the contents of the `#+BEGIN_SRC ditaa` > have changed? > > Thanks, > > -- > Rob I think you want to look at caching: http://orgmode.org/manual/cache.html Cheers, Loris -- This signature is currently under construction.