From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [new exporter] Captions for tables made by source blocks Date: Thu, 07 Mar 2013 01:03:31 +0100 Message-ID: <87ehfsdqjw.fsf@med.uni-goettingen.de> References: <20130306095512.GA1489@panahar> <87k3pk268w.fsf@gmail.com> <20130306105410.GA8157@panahar> <87zjygzp9g.fsf@gmail.com> <20130306234659.GA19038@panahar> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDOJL-0005V5-3D for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 19:03:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDOJG-0000MJ-Sr for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 19:03:51 -0500 Received: from plane.gmane.org ([80.91.229.3]:46647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDOJG-0000M9-MA for emacs-orgmode@gnu.org; Wed, 06 Mar 2013 19:03:46 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UDOJZ-0000I3-2H for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 01:04:05 +0100 Received: from vpn-2097.gwdg.de ([134.76.2.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Mar 2013 01:04:05 +0100 Received: from andreas.leha by vpn-2097.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Mar 2013 01:04:05 +0100 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 Vikas Rawal writes: >> >> I wasn't clear. By "naming the results", I mean that you must provide >> your source block a "#+NAME: something" attribute, so the generated >> table gets a "#+RESULTS: something" attribute. > > Got it. Thanks. > >> BTW, you mustn't change `org-babel-results-keyword'. I don't even know >> why this is a defcustom and why it is allowed to turn it into "NAME". >> RESULTS refers to the name of the src-block which produced the current >> element, whereas NAME refers to the name of the current element. Their >> purpose is completely different. > > Have changed `org-babel-results-keyword' back to RESULTS. The captions > are working fine. Thank you. > >> Cc'ing Eric Schulte about it. > > Let us hear from Eric what is the purpose of this variable, and if it > has some use. IIRC, that was introduced to allow users to choose #+results or #+Results. Regards, Andreas