* [babel] editing LaTeX source code blocks
@ 2009-11-23 21:34 Thomas S. Dye
0 siblings, 0 replies; only message in thread
From: Thomas S. Dye @ 2009-11-23 21:34 UTC (permalink / raw)
To: org-mode mailing list
[-- Attachment #1.1: Type: text/plain, Size: 1282 bytes --]
Aloha all,
It is very convenient in org-babel to open a new buffer on a source
code block with C-c ' and edit in that buffer using the appropriate
Emacs major/minor modes.
Currently, the LaTeX source code buffer doesn't have access to labels
defined in other source code blocks. Outside of org-babel, when
editing multi-file documents, reftex (or auctex, I'm not sure which)
scans all the files referenced in the master file for labels and makes
these available when adding a cross reference.
It would be nice if C-c ' on a LaTeX source code block did something
similar, perhaps by finding LaTeX source code blocks with a :tangle
header argument and evaluating the noweb references to find label
definitions.
If it is the case that the Org-mode file contains more than one LaTeX
source code block with a :tangle header argument, then perhaps the
user could be given a choice of which one to search for label
definitions.
There are easy workarounds for this, so it isn't a big deal. It would
be deluxe to leverage the full power of reftex while editing org-babel
LaTeX source code blocks, though.
All the best,
Tom
Thomas S. Dye, Ph.D.
T. S. Dye & Colleagues, Archaeologists, Inc.
Phone: (808) 529-0866 Fax: (808) 529-0884
http://www.tsdye.com
[-- Attachment #1.2: Type: text/html, Size: 3753 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-23 21:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 21:34 [babel] editing LaTeX source code blocks Thomas S. Dye
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.