From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Exporting book handouts Date: Mon, 04 Nov 2013 15:01:06 +0200 Message-ID: <87y5545njh.fsf@syk.fi> References: <87k3gp4ea7.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdJvA-00056k-Dk for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 08:10:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdJv3-0005qb-4F for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 08:10:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:42762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdJv2-0005qP-U0 for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 08:10:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VdJs9-00082k-KW for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 14:07:13 +0100 Received: from cs78160219.pp.htv.fi ([62.78.160.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 14:07:13 +0100 Received: from jarmo.hurri by cs78160219.pp.htv.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Nov 2013 14:07:13 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org tsd@tsdye.com (Thomas S. Dye) writes: > Aloha Jarmo, Greetings to Hawaii from the dark and cold north. > I find it easiest to use separate sub-trees for the various different > documents I create from a given body of material. In your case, I > would make a sub-tree for the book and a sub-tree for the handout. If > I try to create two different documents under the same heading, the > complexity overwhelms me. I can also foresee problems with interleaving two documents, but I will take some complexity over duplication any day. However, your approach with named elements and reusable functions does appeal to me. What is the mechanism you use to select the subtrees that you are exporting? Are you employing SELECT_TAGS or something else? > Where possible, I #+name: the elements that will be used in more than > one place and then use #+call: lines to place them where I want. Great tip, thanks. > I don't know off-hand the full list of elements that can be named and > echoed this way. I am in the process of starting to write a new section, so I will try it out. For equations etc. it would also be possible to define LaTeX macros for reuse. Thanks a lot! Jarmo