From mboxrd@z Thu Jan 1 00:00:00 1970 From: Skip Collins Subject: Re: export subtree Date: Fri, 11 Dec 2015 08:56:14 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7OBX-0006hg-DU for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 08:56:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7OBW-0004cp-Hf for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 08:56:35 -0500 Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]:32863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7OBW-0004cl-Dt for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 08:56:34 -0500 Received: by qkck189 with SMTP id k189so3304203qkc.0 for ; Fri, 11 Dec 2015 05:56:33 -0800 (PST) In-Reply-To: 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-org list John Hendy wrote: > Thinking about it more, using select_tags as a potential solution to > your export of a subtree without navigating to it, problems could > arise if more than one were tagged. If multiple same-level headlines > were tagged with the select_tag, which one should Org use as the > "master" for the document title/level structure? Nevertheless, I like the idea of a special tag to designate the top level export. Call it :master:. The first headline with the tag :master: would cause export actions to default to that subtree. That way one would be able to edit deep inside the master subtree or outside of it and still easily and consistently generate the correct document. It would also help with exporting from emacs/org in batch mode without a user to put point at the correct subtree location. > It sounds like the C-u option did work for you, correct? Correct. C-u works and I have what I need for now. What I ended up doing is placing the contents of the export tree into an INCLUDE file. I duplicate all of the export header options in that file. So my workflow is simply to edit that document and process it for export without using the subtree option from the parent. It does break the convenience of keeping everything together in one file.