From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert Klein" Subject: Captions for source code Date: Thu, 22 Jul 2010 14:26:10 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=56790 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObuvT-0005lV-8T for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 08:31:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Obur0-00019X-Cz for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 08:26:23 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:24707) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obur0-00019E-6t for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 08:26:22 -0400 Received: from [10.20.2.71] (port=52944 helo=vmmail.mpip-mainz.mpg.de) by gate1.mpip-mainz.mpg.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Obuqn-0007EU-1d for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 14:26:09 +0200 Received: from pckr105.mpip-mainz.mpg.de ([10.20.70.201]) by vmmail.mpip-mainz.mpg.de with esmtp (Exim 4.66) (envelope-from ) id 1Obuqm-000385-Ju for emacs-orgmode@gnu.org; Thu, 22 Jul 2010 14:26:08 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Hi list, I'm trying to get source code exported to HTML with captions, e.g. like: #+caption: Examples of variable declaration. #+begin_src sql SELECT 6*9; #+end_src There seems to be code in org-exp.el, see lines 2128 and following in version 7.01f of org-mode. However, I'm unable to find out what I'm doing wrong, atm. Do you know how I can get this working? Thank you very much! Best regards Robert