emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Leo Alekseyev <dnquark@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] org-babel HTML export and image links within #+example blocks
Date: Thu, 29 Sep 2011 19:09:51 -0600	[thread overview]
Message-ID: <87d3ei6d97.fsf@gmail.com> (raw)
In-Reply-To: CADzxs1kUPn9oKG7Yo10MLtOpmesbhWNRZ=XgG7s-iVL3QB4qsg@mail.gmail.com

Leo Alekseyev <dnquark@gmail.com> writes:

> Right now, I auto-generate image links as a part of results my
> org-embedded R code generates, e.g.:
> #+call foo()
> #+results: foo()
> #+begin_example
> ...stuff...
> RMSE, sdev, abs(mean - true), mean - true: agent 1
> 0.1899602 0.1097201 0.1550738 -0.1550738
> [[file:images/conv1.png]]
> #+end_example
> However, the [[file:images/conv1.png]] doesn't show up as a link or
> inline image when doing HTML export.  Is there a way to automate the
> invocation/generation of results from foo() AND at the same time have
> the image appear upon HTML export?  That would be rather useful.

Links inside of example blocks are not processed, the point of example
blocks is to forestall Org-mode processing.  You could try other result
types.  See http://orgmode.org/manual/results.html for more information.

Best -- Eric

> --Leo

Eric Schulte

      reply	other threads:[~2011-09-30  1:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-30  0:43 [babel] org-babel HTML export and image links within #+example blocks Leo Alekseyev
2011-09-30  1:09 ` Eric Schulte [this message]

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:

  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=87d3ei6d97.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=dnquark@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).