emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Exporting babel-result images inline


From: Eric Schulte
Subject: Re: [Orgmode] Exporting babel-result images inline
Date: Sat, 20 Mar 2010 12:51:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

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: <div class="inline-paragraphs">
source block....
#+HTML: </div>

-- Eric

Taru Karttunen <address@hidden> 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:
>
> <p><img ... /></p>
>
> I would like to export the generated image inline rather than as a
> separate paragraph. However matching that <p> does not work with
> CSS as it lacks parent selectors. ATTR_HTML only affects the <img>
> which does not help.
>
> Any ideas?
>
> - Taru Karttunen
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]