emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rob Stewart <robstewart57@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Avoiding recompilation of ditaa ASCII if unmodified between exports
Date: Fri, 24 Apr 2015 01:28:36 +0100	[thread overview]
Message-ID: <CA+ZOasKzv5ee_kCSAP4KiwxGcFwbZHBNb-4=aPxEy9Po8Ko4Hw@mail.gmail.com> (raw)

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

             reply	other threads:[~2015-04-24  0:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24  0:28 Rob Stewart [this message]
2015-04-24  5:48 ` Avoiding recompilation of ditaa ASCII if unmodified between exports Loris Bennett
2015-04-24  8:46   ` Rob Stewart
2015-04-24  9:28     ` Loris Bennett
2015-04-24  9:38       ` Rob Stewart
2015-04-24 17:46         ` Charles C. Berry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+ZOasKzv5ee_kCSAP4KiwxGcFwbZHBNb-4=aPxEy9Po8Ko4Hw@mail.gmail.com' \
    --to=robstewart57@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).