emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gunnar Wolf <gwolf@gwolf.org>
To: emacs-orgmode@gnu.org
Subject: Regarding Babel execution
Date: Tue, 15 Jan 2013 12:58:30 -0600	[thread overview]
Message-ID: <20130115185830.GB16515@gwolf.org> (raw)


I recently switched from having several Graphviz files to inlining
them via Babel in my source Org file. However, I noticed something
that might either be strange, or might just mean I don't yet
understand some stuff (as a relative newbie): I usually follow this
pattern to include my graphics:

    #+attr_html: height="350"
    #+attr_latex: width=0.5\textwidth

    This is the caption for foo.png

But if I try to replace this [[./img/foo.png]] with a
«#+begin_src dot» block, it does not get picked up by Babel (and ends
up in the generated document as a syntax-highlighted block — So,
clearly, org-mode understands it's a source block, but Babel ignores

I currently commented out the #+begin_center and #+end_center
statements, but I'd really like to have them back. Or, at least, to
find a more proper way to mark the images (and captions!) as material
that should be distinguished from the flowing text. Something along
the lines of the LaTeX «figure» environment.


             reply	other threads:[~2013-01-15 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 18:58 Gunnar Wolf [this message]
2013-01-15 19:54 ` Regarding Babel execution Gunnar Wolf
2013-01-15 20:15 ` Thomas S. Dye

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=20130115185830.GB16515@gwolf.org \
    --to=gwolf@gwolf.org \
    --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).