emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rob Stewart <robstewart57@gmail.com>
To: Loris Bennett <loris.bennett@fu-berlin.de>, emacs-orgmode@gnu.org
Subject: Re: Avoiding recompilation of ditaa ASCII if unmodified between exports
Date: Fri, 24 Apr 2015 09:46:18 +0100	[thread overview]
Message-ID: <CA+ZOasJgGUEoBP=fsEtCFnrkFt12jAmvHiaPMU=PVncU7v=+dA@mail.gmail.com> (raw)
In-Reply-To: <874mo6nkjm.fsf@hornfels.zedat.fu-berlin.de>

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.

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC ditaa :file images/hello-world-round.png :cache yes
+--------------+
|              |
| Hello World! |
|              |
+--------------+
#+END_SRC
--8<---------------cut here---------------end--------------->8---

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?

--
Rob

  reply	other threads:[~2015-04-24  8:46 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 [this message]
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+ZOasJgGUEoBP=fsEtCFnrkFt12jAmvHiaPMU=PVncU7v=+dA@mail.gmail.com' \
    --to=robstewart57@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /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).