Suvayu Ali <fatkasuvayu+li...@gmail.com> wrote: > Hi S=C3=A9bastien, > > On Tue, 22 Mar 2011 13:20:29 +0100 > S=C3=A9bastien Vauban <wxhgmqzgw...@spammotel.com> 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