From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Exporting babel-result images inline Date: Sat, 20 Mar 2010 12:51:01 -0400 Message-ID: <87d3yzkkcq.fsf@gmail.com> References: <1266676181-sup-2406@oz.taruti.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nt1tF-0007fO-M3 for emacs-orgmode@gnu.org; Sat, 20 Mar 2010 12:51:09 -0400 Received: from [140.186.70.92] (port=39446 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nt1tD-0007e9-Sr for emacs-orgmode@gnu.org; Sat, 20 Mar 2010 12:51:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nt1tB-0007Ze-5I for emacs-orgmode@gnu.org; Sat, 20 Mar 2010 12:51:07 -0400 Received: from mail-qy0-f180.google.com ([209.85.221.180]:41289) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nt1tB-0007ZY-2g for emacs-orgmode@gnu.org; Sat, 20 Mar 2010 12:51:05 -0400 Received: by qyk10 with SMTP id 10so2733512qyk.6 for ; Sat, 20 Mar 2010 09:51:04 -0700 (PDT) In-Reply-To: <1266676181-sup-2406@oz.taruti.net> (Taru Karttunen's message of "Sat, 20 Feb 2010 16:34:32 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Taru Karttunen Cc: emacs-orgmode Hi Taur, Maybe you could wrap the entire source code block in a div and then use CSS to change the attributes of the div and the contained paragraph and image #+HTML:
source block.... #+HTML:
-- Eric Taru Karttunen writes: > Hello > > I have org-babel code like > > #+begin_src R :var data=foo :file foo.png :exports results > pie(data[,2], labels = data[,1]) #+end_src > > Which ends up html-exported as: > >

> > I would like to export the generated image inline rather than as a > separate paragraph. However matching that

does not work with > CSS as it lacks parent selectors. ATTR_HTML only affects the > which does not help. > > Any ideas? > > - Taru Karttunen > > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode