From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Beamer support in Org-mode Date: Thu, 10 Dec 2009 18:31:05 -0500 Message-ID: <20270.1260487865@gamaville.dokosmarshall.org> References: <6A790953-D036-4BAE-8833-E5B343A15331@gmail.com> <23189.1259253052@gamaville.dokosmarshall.org> <8F9C582F-F254-4FF7-A22B-E3D90081D380@gmail.com> <4b0ec920.0407c00a.1a73.1d20@mx.google.com> <4b2126f1.1408c00a.0695.3065@mx.google.com> <18166.1260466122@gamaville.dokosmarshall.org> <4B215ECD.3070703@comcast.net> <78CCC120-4A39-4A85-A659-CCDC71EF5CEA@tsdye.com> <4B216FF8.3090101@comcast.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIsUs-0005uc-5D for emacs-orgmode@gnu.org; Thu, 10 Dec 2009 18:32:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIsUm-0005mQ-6S for emacs-orgmode@gnu.org; Thu, 10 Dec 2009 18:32:33 -0500 Received: from [199.232.76.173] (port=50792 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIsUm-0005mN-2w for emacs-orgmode@gnu.org; Thu, 10 Dec 2009 18:32:28 -0500 Received: from vms173015pub.verizon.net ([206.46.173.15]:64057) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NIsUl-00014l-SP for emacs-orgmode@gnu.org; Thu, 10 Dec 2009 18:32:28 -0500 Received: from gamaville.dokosmarshall.org ([173.76.32.106]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KUG00E4ZMMJS5R8@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 10 Dec 2009 17:30:32 -0600 (CST) In-reply-to: Message from Mark Elston of "Thu, 10 Dec 2009 14:02:32 PST." <4B216FF8.3090101@comcast.net> 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: Mark Elston Cc: Org Mode Mark Elston wrote: > Thomas S. Dye wrote: > > > > On Dec 10, 2009, at 10:49 AM, Mark Elston wrote: > > > > ... > >> My case is similar. I teach a class each week and, so far, have created > >> two documents; a set of handouts and my notes for teaching. Generally > >> these documents start from the same original and I modify and expand the > >> notes I use for teaching while leaving the handouts a smaller doc for > >> those in the class to take their own notes from. > >> > >> I don't use beamer as the handouts tend to be 6-8 pages of 'normal' text > >> as it is and my teaching notes are usually far larger. I don't want to > >> manipulate a stack of paper while teaching. > > I use Org-babel to accomplish this. Its literate programming > facility lets you define a block of text and re-use it wherever you > like. You can "tangle" as many .tex files as you want from a single > Org-mode document. > > You can find some examples here: > > http://orgmode.org/worg/org-contrib/babel/org-babel-uses.php IIUC, another way to go (possibly much simpler than org-babel[1]) is to use selective export: #+EXPORT_SELECT_TAGS: Tags that select a tree for export #+EXPORT_EXCLUDE_TAGS: Tags that exclude a tree from export Mark the handout and notes sections with different tags and export the document twice, once with the handout tag selected and once with the notes tag selected. HTH, Nick [1] NB: org-babel is another area that I know very little about, but hope to learn more about during vacation (although by this time, the todo list for vacation has expanded sufficiently to occupy several lifetimes...)