From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre-Luc Gauthier Subject: Exporting selected tags *with* its sub-tag hierarchy Date: Fri, 2 Feb 2018 15:35:48 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11404fa023537a056440aa17" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehi4K-0000HX-Oy for emacs-orgmode@gnu.org; Fri, 02 Feb 2018 15:36:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehi4J-0001uv-OZ for emacs-orgmode@gnu.org; Fri, 02 Feb 2018 15:36:20 -0500 Received: from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]:44541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehi4J-0001uA-I7 for emacs-orgmode@gnu.org; Fri, 02 Feb 2018 15:36:19 -0500 Received: by mail-qt0-x231.google.com with SMTP id l20so32481655qtj.11 for ; Fri, 02 Feb 2018 12:36:19 -0800 (PST) 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" To: emacs-orgmode@gnu.org --001a11404fa023537a056440aa17 Content-Type: text/plain; charset="UTF-8" Hi there, Is there a way to export some tags with all its sub tags? I have this tree of tags as explained here : https://orgmode.org/manual/Tag-hierarchy.html loaded at startup. E.g.: #+TAGS: [ @errands : bank groceries ] Filtering the @errands tag in the agenda todo view does lists all of @errands sub tags as expected (i.e.: bank and groceries). Why then doesn't SELECT_TAGS do the same on exporting? I did search and try other options to no avail. In the minimal working example bellow, only the content explicitly tagged @errands is exported (to LaTeX might that be relevant). I would expect all the sub-tags to be exported also. In this example, the content tagged :bank: does not get exported as expected. 'Any hints on how to achieve hierarchal exporting of tags? Thanks for any pointers. -- Pierre-Luc Gauthier #+OPTIONS: toc:nil #+TAGS: [ @errands : bank groceries ] #+SELECT_TAGS: @errands * General errands :@errands: ** TODO Buy matches * Bank stuff :bank: ** TODO Do pay stuff * TODO Some other task :OtherTag: --001a11404fa023537a056440aa17 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi there,

Is there a wa= y to export some tags with all its sub tags?

I have this tree= of tags as explained here :
https://orgmode.org/manual/Tag-hierarchy.html
l= oaded at startup. E.g.:
#+TAGS: [ @errands : bank groceries ]

Filterin= g the @errands tag in the agenda todo view does lists all of @errands sub t= ags as expected (i.e.: bank and groceries). Why then doesn't SELECT_TAG= S do the same on exporting? I did search and try other options to no avail.=

In the minimal working example bellow, only the content explicitly = tagged @errands is exported (to LaTeX might that be relevant). I would expe= ct all the sub-tags to be exported also. In this example, the content tagge= d :bank: does not get exported as expected.

'A= ny hints on how to achieve hierarchal exporting of tags?

Thanks for any pointers.
--
Pierre-Luc Gauthier

=

#+OPTIONS: toc:nil=
#+TAGS: [ @errands : bank groceries ]
#+SELECT_TAGS: @errands
* General errands =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:@errands:
** TODO Buy m= atches

* Bank stuff =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 :bank:
** TODO Do pay stuff

* TODO Some other task =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 :OtherTag:

--001a11404fa023537a056440aa17--