From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: proposal to have ignoreheading tags/properties Date: Fri, 13 Jun 2014 17:02:04 +0200 Message-ID: <87ha3okg43.fsf@gmail.com> References: <87k38m5903.fsf@gmail.com> <87fvja576z.fsf@gmail.com> <87oaxwvq0t.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvSzr-0006FS-MP for emacs-orgmode@gnu.org; Fri, 13 Jun 2014 11:02:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvSzj-00065F-Rk for emacs-orgmode@gnu.org; Fri, 13 Jun 2014 11:02:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:53471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvSzj-00064z-Lx for emacs-orgmode@gnu.org; Fri, 13 Jun 2014 11:02:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WvSzi-0003N1-8c for emacs-orgmode@gnu.org; Fri, 13 Jun 2014 17:02:18 +0200 Received: from e178190046.adsl.alicedsl.de ([85.178.190.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jun 2014 17:02:18 +0200 Received: from tjolitz by e178190046.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jun 2014 17:02:18 +0200 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: emacs-orgmode@gnu.org Rasmus writes: > Thorsten Jolitz writes: > >> 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 ... >> `---------------------------- > > Your code example is broken, but let's not care about that for now. Yes, I (unfortunately) did not care about the LaTeX side of this special case, just wanted to say that this ,------------- | * 1st Level | text | ** 2nd Level | text | ** 2nd Level | text `------------- often causes headaches that can easily avoided, e.g by ,------------- | * 1st Level | ** 2nd Level | text | ** 2nd Level | text | ** 2nd Level | text `------------- or (your solution) ,------------- | * 1st Level | text | * 1st Level | ** 2nd Level | text | ** 2nd Level | text `------------- > So the appendix case is kind of special. Really what we want is to > inject a command before the insertion of the appendix. Due to the > nature of LaTeX this is easy. I often do something like > > * appendix pre :ignoreheading: > #+LATEX: \appendix > * my appendix > content -- cheers, Thorsten