From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] org-babel HTML export and image links within #+example blocks Date: Thu, 29 Sep 2011 19:09:51 -0600 Message-ID: <87d3ei6d97.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9RiE-0006c8-Nl for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 21:16:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9RiD-0003fG-Ni for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 21:16:26 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:64753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9RiD-0003ei-LC for emacs-orgmode@gnu.org; Thu, 29 Sep 2011 21:16:25 -0400 Received: by yxi19 with SMTP id 19so1400263yxi.0 for ; Thu, 29 Sep 2011 18:16:25 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Leo Alekseyev Cc: emacs-orgmode@gnu.org Leo Alekseyev 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 http://cs.unm.edu/~eschulte/