From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Source blocks with captions Date: Mon, 23 Jun 2014 17:43:29 +0200 Message-ID: <87oaxj8wda.fsf@gmail.com> References: <8738evodqe.fsf@student.kit.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz6PV-0001da-Q8 for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 11:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz6PO-0006JS-Rc for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 11:43:57 -0400 Received: from plane.gmane.org ([80.91.229.3]:36633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz6PO-0006JM-L4 for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 11:43:50 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wz6PF-0004qe-1e for emacs-orgmode@gnu.org; Mon, 23 Jun 2014 17:43:41 +0200 Received: from e178189020.adsl.alicedsl.de ([85.178.189.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jun 2014 17:43:41 +0200 Received: from tjolitz by e178189020.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jun 2014 17:43:41 +0200 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 Alexander Baier writes: > Hello org-moders! > > I just tried to put a caption under/on/above (or anywhere for that > matter) my source code block. When exporting to latex, I didn't see any > caption belonging to my code block. Other backends have not been > tried. How can I achieve this? > > For reference, I run Org-mode version 8.2.6 (release_8.2.6 @ > /home/delexi/.emacs.d/ext/org-mode/lisp/) and this is the org file: > > * Test > #+CAPTION: Test > #BEGIN_SRC java > // some code > #END_SRC shouldn't that be ,---- | #+NAME: Test `---- instead of ,---- | #+CAPTION: Test `---- ? -- cheers, Thorsten