emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] [babel] editing LaTeX source code blocks


From: Thomas S. Dye
Subject: [Orgmode] [babel] editing LaTeX source code blocks
Date: Mon, 23 Nov 2009 11:34:35 -1000

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




reply via email to

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