emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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 11:28:46 +0200	[thread overview]
Message-ID: <87pp6tg9ip.fsf@hornfels.zedat.fu-berlin.de> (raw)
In-Reply-To: CA+ZOasJgGUEoBP=fsEtCFnrkFt12jAmvHiaPMU=PVncU7v=+dA@mail.gmail.com

Hi Rob,

Rob Stewart <robstewart57@gmail.com> writes:

> Hi Loris,
>
> On 24 April 2015 at 06:48, Loris Bennett <loris.bennett@fu-berlin.de> 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.

  reply	other threads:[~2015-04-24  9:29 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
2015-04-24  8:46   ` Rob Stewart
2015-04-24  9:28     ` Loris Bennett [this message]
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=87pp6tg9ip.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).