emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Leading headline of a subtree tag export


From: Scott Randby
Subject: Re: [O] Leading headline of a subtree tag export
Date: Wed, 11 Dec 2013 11:35:42 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 12/11/2013 10:57 AM, Nicolas Goaziou wrote:
> Hello,
> 
> Scott Randby <address@hidden> 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,
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]