[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Avoiding recompilation of ditaa ASCII if unmodified between expo
From: |
Loris Bennett |
Subject: |
Re: [O] Avoiding recompilation of ditaa ASCII if unmodified between exports |
Date: |
Fri, 24 Apr 2015 07:48:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Hi,
Rob Stewart <address@hidden> 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.