From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Captions for src and example blocks Date: Sat, 14 Jan 2012 22:08:04 +0530 Message-ID: <81vcoeqlxv.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm6cV-0006Ln-5D for emacs-orgmode@gnu.org; Sat, 14 Jan 2012 11:38:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm6cU-0002Dy-4t for emacs-orgmode@gnu.org; Sat, 14 Jan 2012 11:38:19 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:56837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm6cT-0002Dt-Tl for emacs-orgmode@gnu.org; Sat, 14 Jan 2012 11:38:18 -0500 Received: by iafj26 with SMTP id j26so7168862iaf.0 for ; Sat, 14 Jan 2012 08:38:16 -0800 (PST) In-Reply-To: (Christian Wittern's message of "Sat, 14 Jan 2012 14:31:38 +0900") 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: Christian Wittern Cc: Org Mode Mailing List Hello Chris > Dear Orgmoders, > > There was a thread last April about a way to introduce captions and > labels to src and example blocks (see > http://lists.gnu.org/archive/html/emacs-orgmode/2011-04/msg00877.html). > Now I would like to use captions in a similar way, but not just for > LaTex, but also for the ODT export. So a generic org-mode solution > would be much more helpful. I wonder if somebody has any idea about > how to achieve this. As Nicolas notes, all essential infrastructure is in place. Only thing that needs to happen is to switch over the existing ODT backend to the new export engine. If you have any specific opinions on how the example blocks need to be formatted by default - for eg, put the src blocks in a text frame, in this font and in that size, label and caption the listings this and that way, create an index entry for src listings, - and are willing to "show and tell" with a sample ODT document I am all ears. Jambunathan K. --