From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giles Chamberlin Subject: Limited #+INCLUDE ? Date: Fri, 23 Apr 2010 12:25:37 +0100 Message-ID: <874oj2v2a6.fsf@tandberg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5H19-0006mB-AE for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 07:25:55 -0400 Received: from [140.186.70.92] (port=48660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5H18-0006m0-6n for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 07:25:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5H17-0004n0-AE for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 07:25:54 -0400 Received: from lo.gmane.org ([80.91.229.12]:47340) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5H17-0004mb-42 for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 07:25:53 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O5H12-0007uB-P8 for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 13:25:48 +0200 Received: from 194.73.59.34 ([194.73.59.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Apr 2010 13:25:48 +0200 Received: from giles.chamberlin by 194.73.59.34 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Apr 2010 13:25:48 +0200 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@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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? -- Giles