"Thomas S. Dye" <tsd@tsdye.com> writes:
[...]Eric,I think Torsten has a clearer idea than I do about what kinds ofprogramming structures might be appropriate here, but your suggestionlooks to me like an elegant replacement for the file based techniqueI'm using to pass information into 'begin_src latex' blocks now.Expanding the noweb syntax in the way you propose looks extremelyuseful. I think it introduces an exciting range of possibilities intothe workflow I'm developing with org-babel. So, yes, your proposalsounds appropriate to me.Tom
This has now been implemented. To try it out grab the most recent
version of Org-mode. Changes include
- the ability to insert the *results* of source-code blocks through the
use of noweb references in which the source-name is followed by ()s,
and
- the addition of the org-babel-latex.el file which should make it
easier to add latex to the languages known to org-babel
To try this out please run org-babel-tangle on the attached org-mode
file.
<noweb-eval.org>
which should result in the attached .tex file
<somewhere.tex>
Let me know if I should make any changes to this new setup. Thanks for
the ideas. -- Eric
Thomas S. Dye, Ph.D.
T. S. Dye & Colleagues, Archaeologists, Inc.
Phone: (808) 529-0866 Fax: (808) 529-0884