From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: proposal to have ignoreheading tags/properties Date: Thu, 12 Jun 2014 13:41:28 -0400 Message-ID: References: <87k38m5903.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv97P-0005OF-Hb for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 13:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv97G-0003ET-1c for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 13:48:55 -0400 Received: from mail-qa0-x22b.google.com ([2607:f8b0:400d:c00::22b]:52318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv97F-0003EJ-Sz for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 13:48:45 -0400 Received: by mail-qa0-f43.google.com with SMTP id k15so2153593qaq.30 for ; Thu, 12 Jun 2014 10:48:45 -0700 (PDT) In-reply-to: <87k38m5903.fsf@gmail.com> 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: Thorsten Jolitz Cc: emacs-orgmode@gnu.org +1 to the OP. On 2014-06-12 at 13:32, Thorsten Jolitz wrote: > > In a tree structure, when ignoring the parent node, it seems only > logical that the siblings are ignored too. I'm found myself in all of the following situations: 1. I want the heading and everything below not-exported 2. I want the heading not-exported, but the content exported. 1. I don't care if the sub-headings are kept or moved up a level 2. I do care - I want the sub-headings to remain as-is. 3. I do care - I want the sub-headings to be promoted. 3. I want the heading and the heading-level content not-exported, but sub-heading and their content exported > You seem to use the wrong tool for the task (headlines), this looks > like a perfect use case for TAGS, i.e. define your (concept) groups as > tags. If these tags are not part of `org-export-exclude-tags' they > won't affect exporting, but you can still use them to build your > agenda or a sparse tree or so. A simple example where tags don't work, nothing to do with agenda. Some paper formats (Nature, for example) do not allow headings or sub-headings. It is just 2 pages of text. But it is certainly nice to write the paper and organize thoughts in sections and sub-sections. This is case 2.0 above. Each heading is tagged ":noexport" and it is not exported, but the content (text, figures, lists) below the heading is exported. I'm not sure how tags would help here, other than the tag of ":noexport". Another common (for me) example is to have a heading called "* Appendix" in a paper, and then the LaTeX "\appendix" command. The Org heading is just for me. It should not be exported. All headings below the \appendix command are Org sub-sections but should be promoted to \section in the final document. -k.