From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Limited #+INCLUDE ? Date: Mon, 26 Apr 2010 10:32:30 +0200 Message-ID: <87k4ruy5pd.fsf@mundaneum.com> References: <874oj2v2a6.fsf@tandberg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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=20 > 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 --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode