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 14:16:26 -0400 Message-ID: References: <87k38m5903.fsf@gmail.com> <87fvja576z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv9fS-0003g3-K6 for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 14:24:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv9fG-0007Xn-CS for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 14:24:06 -0400 Received: from mail-qa0-x22f.google.com ([2607:f8b0:400d:c00::22f]:55465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv9fG-0007Wp-8I for emacs-orgmode@gnu.org; Thu, 12 Jun 2014 14:23:54 -0400 Received: by mail-qa0-f47.google.com with SMTP id hw13so943220qab.34 for ; Thu, 12 Jun 2014 11:23:53 -0700 (PDT) In-reply-to: <87fvja576z.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 On 2014-06-12 at 14:11, Thorsten Jolitz wrote: > Ken Mankoff writes: > >> 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. > > then IMO it should be > > ,---------------------------- > | * Appendix > | ** Latex Command :noexport: > | \appendix > | ** Subsec1 > | ** Subsec2 ... > `---------------------------- I'm confused how this creates a correct LaTeX document. The "\appendix" command is not exported, since that section was tagged ":noexport:", in which case, what is the point of having "\appendix"? I *need* the LaTeX command exported. It changes things in the remainder of the LaTeX document. A section titled "Appendix", which is what your text above creates, does not create a correct LaTeX document. Furthermore, Subsec1 and Subsec2 need to be promoted, either in Org or in the export. ,---------------------------- | * Appendix :noexportheading:promotesubheading: | \appendix | ** Subsec1 | ** Subsec2 `---------------------------- The above works, assuming that "noexportheading" doesn't export the heading, but does export the content ("\appendix"), and the "promotesubheading" does what you would expect. -k.