emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* reftex support for figures
@ 2015-03-02 15:24 Ken Mankoff
  2015-03-03 10:58 ` Ken Mankoff
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Mankoff @ 2015-03-02 15:24 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Org + reftex works for me for citations and equations but not figures.

I assume equation support works because I write equations inside \begin{align} environments and have actual LaTeX code for \label{eq:foo}. But Figures are in Org syntax:

#+CAPTION: Foo
#+LABEL: fig:foo
[[./foo.png]]

And when I try to insert a figure reference with Reftex, none are found.

Does anyone have Reftex support working with Org figures?

Thanks,

  -k.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: reftex support for figures
  2015-03-02 15:24 reftex support for figures Ken Mankoff
@ 2015-03-03 10:58 ` Ken Mankoff
  0 siblings, 0 replies; 2+ messages in thread
From: Ken Mankoff @ 2015-03-03 10:58 UTC (permalink / raw)
  To: emacs-orgmode


On 2015-03-02 at 10:24, Ken Mankoff <mankoff@gmail.com> wrote:
> Does anyone have Reftex support working with Org figures?

It seems like RefTeX might be able to do it via the "xr" package and external references, where it is searching the exported LaTeX version of the document:

http://www.xemacs.org/Documentation/packages/html/reftex_3.html#SEC35

This means that labels wouldn't be found until after export, but that seems like a minor inconvenience. 

  -k.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-03 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-02 15:24 reftex support for figures Ken Mankoff
2015-03-03 10:58 ` Ken Mankoff

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).