From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Leading headline of a subtree tag export Date: Wed, 11 Dec 2013 16:57:07 +0100 Message-ID: <87eh5jxtws.fsf@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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqmAE-0004A0-WB for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:57:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqmA7-0001lY-LN for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:57:30 -0500 Received: from mail-ee0-f47.google.com ([74.125.83.47]:38118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqmA7-0001lS-Bk for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 10:57:23 -0500 Received: by mail-ee0-f47.google.com with SMTP id e51so2816968eek.34 for ; Wed, 11 Dec 2013 07:56:47 -0800 (PST) In-Reply-To: <52A88811.8070505@gmail.com> (Scott Randby's message of "Wed, 11 Dec 2013 10:43:13 -0500") 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: Scott Randby Cc: emacs-orgmode@gnu.org 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 Regards, -- Nicolas Goaziou