From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: \ref{} in #+caption Date: Sat, 21 Jan 2012 12:27:02 +0100 Message-ID: <87ty3pxpmh.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoZ6X-0002fR-Tn for emacs-orgmode@gnu.org; Sat, 21 Jan 2012 06:27:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoZ6T-000614-KM for emacs-orgmode@gnu.org; Sat, 21 Jan 2012 06:27:29 -0500 Received: from lo.gmane.org ([80.91.229.12]:36185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoZ6T-00060v-FD for emacs-orgmode@gnu.org; Sat, 21 Jan 2012 06:27:25 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RoZ6P-0000gH-V9 for emacs-orgmode@gnu.org; Sat, 21 Jan 2012 12:27:21 +0100 Received: from vpn-2175.gwdg.de ([134.76.2.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jan 2012 12:27:21 +0100 Received: from andreas.leha by vpn-2175.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jan 2012 12:27:21 +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 Hi all, is it possible to get \ref{} to work in #+caption lines generally? As it seems, the #+caption is not processed. So the \ref{} statements in #+captions work only in LaTeX export, where \ref{} is valid. In the #other exports, the \ref{} is exported literally. Example: === test.org ================================= * Test ref in caption #+caption: bar referencing \ref{fig:baz} #+label: fig:bar #+name: bar #+attr_odt: :width 8 #+header: :file bar.png #+header: :width 7200 :height 3600 :res 600 #+begin_src R :exports results :results graphics plot(1:10, 1:10) #+end_src #+caption: baz #+label: fig:baz #+name: baz #+attr_odt: :scale 0.5 #+header: :file baz.png #+header: :width 7200 :height 3600 :res 600 #+begin_src R :exports results :results graphics plot(1:10, 1:10) #+end_src ============================================== Best, Andreas