From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: LaTeX export - can't skip a heading level Date: Tue, 20 Mar 2012 15:55:25 -0400 Message-ID: <28543.1332273325@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA59Y-0000Md-8M for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 15:55:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA59W-0000gV-B9 for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 15:55:31 -0400 Received: from g1t0029.austin.hp.com ([15.216.28.36]:12237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA59W-0000gJ-4R for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 15:55:30 -0400 In-Reply-To: Message from Richard Stanton of "Tue, 20 Mar 2012 12:27:29 PDT." 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: Richard Stanton Cc: nicholas.dokos@hp.com, "emacs-orgmode@gnu.org" Richard Stanton wrote: > Using org-mode 7.8.03, I've found that exporting to LaTeX has a tough time > if you try to skip a header level. For example, to prevent my TODO items > being numbered, one method is to make them a lower-level heading, and then > make that level un-numbered. > > However, if I try the following: > > * To Do List > *** TODO First item > *** TODO Second item > Does this do what you want? --8<---------------cut here---------------start------------->8--- #+OPTIONS: num:1 * To Do List ** TODO First item ** TODO Second item --8<---------------cut here---------------end--------------->8--- Nick PS. Not sure why the third level headlines are skipped if the second level headline is absent. This feels like a bug to me. > Then when exported to LaTeX, only the title appears (both TODO items are > excluded). > > I tried make the first title one level lower, like this: > > ** To Do List > *** TODO First item > *** TODO Second item > > * Next Section > > Now the TODO list exports, though it now treats ** as the section header, > so it hasn't solved that problem, and moreover, the next section is > omitted entirely. > > > > > > > >