From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Stewart Subject: Avoiding recompilation of ditaa ASCII if unmodified between exports Date: Fri, 24 Apr 2015 01:28:36 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlRUJ-0001VP-3t for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 20:28:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlRUH-000717-RV for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 20:28:59 -0400 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:33522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlRUH-00070T-Gi for emacs-orgmode@gnu.org; Thu, 23 Apr 2015 20:28:57 -0400 Received: by lbbzk7 with SMTP id zk7so25185094lbb.0 for ; Thu, 23 Apr 2015 17:28:56 -0700 (PDT) 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, 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