From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gunnar Wolf Subject: Regarding Babel execution Date: Tue, 15 Jan 2013 12:58:30 -0600 Message-ID: <20130115185830.GB16515@gwolf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvBlS-00027b-7V for emacs-orgmode@gnu.org; Tue, 15 Jan 2013 14:01:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvBlP-0005GN-Ku for emacs-orgmode@gnu.org; Tue, 15 Jan 2013 14:01:38 -0500 Received: from lafa.iiec.unam.mx ([132.248.72.141]:58264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvBlP-0005GE-Ep for emacs-orgmode@gnu.org; Tue, 15 Jan 2013 14:01:35 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by lafa.iiec.unam.mx (Postfix) with ESMTP id 8A63C90E9C for ; Tue, 15 Jan 2013 13:01:34 -0600 (CST) Received: from lafa.iiec.unam.mx ([127.0.0.1]) by localhost (lafa.iiec.unam.mx [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JGn5OV10w8Pa for ; Tue, 15 Jan 2013 13:01:34 -0600 (CST) Received: from v.gwolf.org (unknown [132.248.72.123]) by lafa.iiec.unam.mx (Postfix) with ESMTP id 023AD88EAD for ; Tue, 15 Jan 2013 13:01:34 -0600 (CST) Content-Disposition: inline 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: emacs-orgmode@gnu.org Hi, 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: #+begin_center #+attr_html: height=3D"350" #+attr_latex: width=3D0.5\textwidth [[./img/foo.png]] This is the caption for foo.png #+end_center But if I try to replace this [[./img/foo.png]] with a =C2=AB#+begin_src dot=C2=BB block, it does not get picked up by Babel (an= d ends up in the generated document as a syntax-highlighted block =E2=80=94 So, clearly, org-mode understands it's a source block, but Babel ignores it). 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 =C2=ABfigure=C2=BB environment. Thanks,