From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: Re: Avoiding recompilation of ditaa ASCII if unmodified between exports
Date: Fri, 24 Apr 2015 07:48:45 +0200 [thread overview]
Message-ID: <874mo6nkjm.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: CA+ZOasKzv5ee_kCSAP4KiwxGcFwbZHBNb-4=aPxEy9Po8Ko4Hw@mail.gmail.com
Hi,
Rob Stewart <robstewart57@gmail.com> 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.
next prev parent reply other threads:[~2015-04-24 5:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 0:28 Avoiding recompilation of ditaa ASCII if unmodified between exports Rob Stewart
2015-04-24 5:48 ` Loris Bennett [this message]
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=874mo6nkjm.fsf@hornfels.zedat.fu-berlin.de \
--to=loris.bennett@fu-berlin.de \
--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).