From: "Eric Schulte" <schulte.eric@gmail.com>
To: Taru Karttunen <taruti@taruti.net>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Exporting babel-result images inline
Date: Sat, 20 Mar 2010 12:51:01 -0400 [thread overview]
Message-ID: <87d3yzkkcq.fsf@gmail.com> (raw)
In-Reply-To: <1266676181-sup-2406@oz.taruti.net> (Taru Karttunen's message of "Sat, 20 Feb 2010 16:34:32 +0200")
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 <taruti@taruti.net> 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2010-03-20 16:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-20 14:34 Exporting babel-result images inline Taru Karttunen
2010-03-20 16:51 ` 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:
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=87d3yzkkcq.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=taruti@taruti.net \
/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).