From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: unnumbered subsections in latex export Date: Tue, 22 Mar 2011 10:35:10 -0400 Message-ID: <8999.1300804510@alphaville.dokosmarshall.org> References: <20110322051038.21655c80@kuru.homelinux.net> <80d3lj9wj6.fsf@somewhere.org> <20110322053134.669127e9@kuru.homelinux.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=44067 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q22gC-0003qc-SS for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:35:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q22g8-0003Tv-UB for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:35:28 -0400 Received: from vms173009pub.verizon.net ([206.46.173.9]:50827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q22g8-0003Td-PH for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 10:35:24 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LIG00I0LR6MA090@vms173009.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 09:35:11 -0500 (CDT) In-reply-to: Message from Suvayu Ali of "Tue, 22 Mar 2011 05:31:34 PDT." <20110322053134.669127e9@kuru.homelinux.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Suvayu Ali Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Suvayu Ali wrote: > Hi S=C3=A9bastien, > > On Tue, 22 Mar 2011 13:20:29 +0100 > S=C3=A9bastien Vauban wrote: > > > > > > I was wondering whether there is some way to export the attached org > > > file to latex such that headlines beyond level 2 (3 and onwards) can > > > be exported as unnumbered subsections or subsubsections like this, > > > \subsection*{}, instead of enclosing them within itemize. > > > > > > The file uses the following options header: > > > > > > #+OPTIONS: H:2 num:t toc:t ::t |:t ^:t -:t f:t *:t <:nil > >=20 > > Using H:3 num:2? Untested... But that should do the work. > >=20 > > That didn't work. It exports the same as the following options > > #+OPTIONS: H:3 num:t toc:t ::t |:t ^:t -:t f:t *:t <:nil > > I think the num option is a boolean. The manual says the following: > > num: turn on/off section-numbers > > Would it be a worthwhile feature request to allow numbers for that > option? Then one could have finer control on the numbering. > You can do it (I think - but have not tried it) by changing H:3 to H:5 or so: ,---- | (defcustom org-export-latex-low-levels 'itemize | "How to convert sections below the current level of sectioning. | This is specified by the `org-export-headline-levels' option or the | value of \"H:\" in Org's #+OPTION line. `---- and then asking LaTeX to omit the numbering appropriately: \setcounter{secnumdepth}{2} Adjust the 2 to taste. Nick