emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting FILETAGS
@ 2016-06-21  5:28 Arun Isaac
  2016-06-21 11:45 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Arun Isaac @ 2016-06-21  5:28 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 144 bytes --]


When org-export-with-tags is set to t, tags on headlines are
exported. Is there a similar way to export FILETAGS as well?

Thanks,
Arun Isaac.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Exporting FILETAGS
  2016-06-21  5:28 Exporting FILETAGS Arun Isaac
@ 2016-06-21 11:45 ` Nicolas Goaziou
  2016-06-21 13:04   ` Arun Isaac
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2016-06-21 11:45 UTC (permalink / raw)
  To: Arun Isaac; +Cc: emacs-orgmode@gnu.org

Hello,

Arun Isaac <arunisaac@systemreboot.net> writes:

> When org-export-with-tags is set to t, tags on headlines are
> exported. Is there a similar way to export FILETAGS as well?

Do you mean that you want to export inherited filetags on each headline?
If so, it is not possible out of the box.

However, `org-get-tags-at' returns a list of inherited tags for a given
headline, so it is possible to pre-process the document and explicitly
add all inherited tags to each headline.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Exporting FILETAGS
  2016-06-21 11:45 ` Nicolas Goaziou
@ 2016-06-21 13:04   ` Arun Isaac
  2016-06-21 13:36     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Arun Isaac @ 2016-06-21 13:04 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]


> Do you mean that you want to export inherited filetags on each headline?
> If so, it is not possible out of the box.

No, I would like to export the FILETAGS to say, below the title. I am
maintaining my blog in org mode, and I am hoping to use FILETAGS to tag
my blog posts. So, I am interested in tags for the entire file itself,
not inherited tags on each headline.

Currently, I have written some code to do this, but I am wondering if
this is available out of the box.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Exporting FILETAGS
  2016-06-21 13:04   ` Arun Isaac
@ 2016-06-21 13:36     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2016-06-21 13:36 UTC (permalink / raw)
  To: Arun Isaac; +Cc: emacs-orgmode@gnu.org

Arun Isaac <arunisaac@systemreboot.net> writes:

> No, I would like to export the FILETAGS to say, below the title. I am
> maintaining my blog in org mode, and I am hoping to use FILETAGS to tag
> my blog posts. So, I am interested in tags for the entire file itself,
> not inherited tags on each headline.
>
> Currently, I have written some code to do this, but I am wondering if
> this is available out of the box.

FILETAGS is a keyword, and those are usually ignored during export. So,
writing some code (as a parse tree filter or in a hook), as you did, is
the way to go.

Regards,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-21 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21  5:28 Exporting FILETAGS Arun Isaac
2016-06-21 11:45 ` Nicolas Goaziou
2016-06-21 13:04   ` Arun Isaac
2016-06-21 13:36     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).