emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* reftex label generation and referencing
@ 2013-07-04 16:16 Jan-Mark Batke
  2013-07-04 16:44 ` Rasmus
  0 siblings, 1 reply; 2+ messages in thread
From: Jan-Mark Batke @ 2013-07-04 16:16 UTC (permalink / raw)
  To: Org-Mode

[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]

Hi all.

I turned on reftex-mode in ord-mode and did some experiments with the
automated reftex label generation which I like a lot.

1. A reference is generated for Fig.~\ref{fig:1} nicely using reftex
   using C-c ) as shown in this text.
   #+BEGIN_LaTeX
   \begin{figure}[h]
      \centering
      \includegraphics{test}
      \label{fig:1}
      \caption{text}
    \end{figure}
   #+END_LaTeX
   However, reftex complains when using the automated label insertion
   as started by auctex when I use the latex editing buffer started
   with C-c', e.g.

   : reftex-access-scan-info: RefTeX works only in buffers visiting a file

   so I inserted the label afterwards in the org-buffer.
   Is it possible to avoid that problem?

2. How do I actually address Figure~\ref{fig:name} (this is the latex
   way) using org-mode means (to be more generic)?

   #+name: fig:name
   #+caption: Figure
  [[  ./figure.png]]

3. Is there a difference between #+name: and #+label: to label a
   figure?

Best

Jan-Mark

-- 
Jan-Mark Batke  badkey@gmx.net
FON +49 511 33 64 800
FAX +49 511 22 09 521

[-- Attachment #2: Type: text/html, Size: 1622 bytes --]

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

end of thread, other threads:[~2013-07-04 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-04 16:16 reftex label generation and referencing Jan-Mark Batke
2013-07-04 16:44 ` Rasmus

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).