emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] \ref{} in #+caption


From: Andreas Leha
Subject: [O] \ref{} in #+caption
Date: Sat, 21 Jan 2012 12:27:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]