[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 11:28:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Hi Rob,
Rob Stewart <address@hidden> writes:
> Hi Loris,
>
> On 24 April 2015 at 06:48, Loris Bennett <address@hidden> wrote:
>
>> I think you want to look at caching:
>>
>> http://orgmode.org/manual/cache.html
>
> Thanks for the tip. Interestingly, caching doesn't seem to work for
> ditaa blocks. E.g.
>
> #+BEGIN_SRC ditaa :file images/hello-world-round.png :cache yes
> +--------------+
> | |
> | Hello World! |
> | |
> +--------------+
> #+END_SRC
>
> Run the ditaa.jar file every time I export to HTML with `C-c C-e h h`.
>
> Does `:cache yes` only work for particular source languages?
Caching with ditaa works for me with Emacs 24.4.1 and Org
8.2.10-37-gc000e8-elpaplus.
What versions of Org/Emacs are you using?
Cheers,
Loris
--
This signature is currently under construction.