Hi Giles, Giles Chamberlin wrote: > I've been using org-mode for some course work: "write an essay about > your software including the interesting bits, add all source code in an > appendix". > > #+INCLUDE solves the inclusion of source code files very nicely - I'm > guaranteed that my document includes the latest versions, type set as I > wish. > > Unfortunately at the moment I'm cutting and pasting the snippets of > "interesting" code into the body of the essay. What I'd like to do is > be able to label interesting regions of code in the source file and then > import the labelled blocks into my essay. Is there a way of doing this?
Have a look at Org-Babel. Though, it means your source code would be *inside* your Org document, and you would have to "tangle" it (generate it) from there. Seb -- Sébastien Vauban _______________________________________________ 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