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: Nicolas Goaziou
Subject: Re: [O] Leading headline of a subtree tag export
Date: Wed, 11 Dec 2013 16:57:07 +0100

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


Regards,

-- 
Nicolas Goaziou



reply via email to

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