From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: exporting cross-references to source block results Date: Thu, 11 Apr 2013 14:16:34 +0530 Message-ID: <20130411084634.GA10767@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQD9d-000567-5w for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 04:46:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQD9b-00023Z-I7 for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 04:46:48 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:41775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQD9b-00023Q-CS for emacs-orgmode@gnu.org; Thu, 11 Apr 2013 04:46:47 -0400 Received: by mail-pd0-f181.google.com with SMTP id y10so740837pdj.26 for ; Thu, 11 Apr 2013 01:46:46 -0700 (PDT) Content-Disposition: inline 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 I had raised this on the mailing list earlier but my problem has not been resolved. I shall be grateful if somebody could help debug. My org-version is: Org-mode version 8.0-pre(release_8.0-pre-247-gbc3ccd @ /home/vikas/lisp/org-mode/lisp/) When I have a named source block (say crop_median), I get named results in a table with #+RESULTS: crop_median at the top of it. I then add a #+CAPTION to it. Then I cross-refer to crop_median using [[crop_median]] elsewhere in the file. When I export this to latex, the tex file shows that this cross-reference is convered to \texttt{crop_median} rather than to \ref(crop_median}. The pdf file, accordingly, says crop_median where it should say the table number. On the other hand, a named table which is directly entered with "#+NAME: crop_median" and is not result of a source block is cross-referred correctly. The same behaviour is seen when I export to odt. That is, the cross-references to tables having #+RESULTS show up literally (as crop_median etc) while cross-references to tables named using #+NAME show up correctly. Could somebody help debug. Is there something in the setup I need to specify how to export cross-references? Vikas