From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: [new exporter] Captions for tables made by source blocks Date: Fri, 8 Mar 2013 05:30:26 +0530 Message-ID: <20130308000026.GA10784@panahar> References: <20130306095512.GA1489@panahar> <87k3pk268w.fsf@gmail.com> <20130306105410.GA8157@panahar> <87zjygzp9g.fsf@gmail.com> <87sj47d3jf.fsf@gmail.com> <20130307122719.GA15477@panahar> <87k3pjcrex.fsf@gmail.com> <20130307144353.GA17931@panahar> <877gljcdya.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDkjn-0001Jc-B6 for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 19:00:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDkjm-0002ss-4c for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 19:00:39 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:63484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDkjl-0002sl-VK for emacs-orgmode@gnu.org; Thu, 07 Mar 2013 19:00:38 -0500 Received: by mail-pa0-f44.google.com with SMTP id kp1so839464pab.31 for ; Thu, 07 Mar 2013 16:00:37 -0800 (PST) Content-Disposition: inline In-Reply-To: <877gljcdya.fsf@gmail.com> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org > >> > >> Could you provide an ECM? > >> > > > > Please see the attached file. > > I cannot reproduce it, i.e. I get "\ref{crop-median}" in the output. > > > Regards, For me, it works if I change the value of org-babel-results-keyword to NAME. Then the results block is produced with #+NAME: crop-median The cross-reference picks this up fine. But when org-babel-results-keyword is set to RESULTS, the results block is produced with #+RESULTS: crop-median The cross-reference does not pick it up correctly. The latex backend does not export it with a \ref but with a \texttt. The odt backend also produces "crop-median" in cross-reference rather than the table number. Vikas