From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Re: Leading headline of a subtree tag export Date: Wed, 11 Dec 2013 11:35:42 -0500 Message-ID: <52A8945E.9070001@gmail.com> References: <87vbyxls1c.fsf@alphaville.bos.redhat.com> <52A7B4AF.9050809@gmail.com> <87haafwnl8.fsf@gmail.com> <52A8730F.2080301@gmail.com> <52A88811.8070505@gmail.com> <87eh5jxtws.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqmlN-0003xE-OT for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 11:36:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqmlF-00070J-Bl for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 11:35:53 -0500 Received: from mail-ie0-x236.google.com ([2607:f8b0:4001:c03::236]:54562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqmlF-00070E-1Q for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 11:35:45 -0500 Received: by mail-ie0-f182.google.com with SMTP id as1so11336403iec.41 for ; Wed, 11 Dec 2013 08:35:44 -0800 (PST) Received: from [192.168.1.111] (cpe-24-165-203-246.neo.res.rr.com. [24.165.203.246]) by mx.google.com with ESMTPSA id y10sm9838992igl.4.2013.12.11.08.35.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Dec 2013 08:35:43 -0800 (PST) In-Reply-To: <87eh5jxtws.fsf@gmail.com> 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 On 12/11/2013 10:57 AM, Nicolas Goaziou wrote: > Hello, > > Scott Randby writes: > >> I had a file with the following structure: >> >> #+OPTIONS: tags:nil >> * Grades >> ** Student :studenttag: >> :PROPERTIES: >> :EXPORT_FILE_NAME: Exported-Grades/studenttag >> :END: >> *** Totals :totals: >> Content >> >> Whenever I exported the entire file, no tags were exported (what I >> want). However, whenever I exported the Student subtree, the tag for >> that subtree was exported (not what I want) but the tag for the Totals >> subtree was not exported (what I want). Then I tried the following: >> >> #+OPTIONS: tags:nil >> * Grades >> ** Student :studenttag: >> :PROPERTIES: >> :EXPORT_FILE_NAME: Exported-Grades/studenttag >> :EXPORT_OPTIONS: tags:nil >> :END: >> *** Totals :totals: >> Content >> >> The tag for the Student subtree is still exported when I export the >> Student subtree. How do I prevent this tag from being exported when I >> export the subtree? > > During a subtree export, the root headline becomes document's title, so > tags:nil no longer applies. By default everything is included, todo > keyword and tags. > > You can specify another title with :EXPORT_TITLE:, e.g. > > :EXPORT_TITLE: Student That worked. Thanks. Scott > > > Regards, >