[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Re: unnumbered subsections in latex export
From: |
Nick Dokos |
Subject: |
Re: [O] Re: unnumbered subsections in latex export |
Date: |
Tue, 22 Mar 2011 10:35:10 -0400 |
Suvayu Ali <address@hidden> wrote:
> Hi S=C3=A9bastien,
>
> On Tue, 22 Mar 2011 13:20:29 +0100
> S=C3=A9bastien Vauban <address@hidden> 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
- [O] unnumbered subsections in latex export, Suvayu Ali, 2011/03/22
- [O] Re: unnumbered subsections in latex export, Sébastien Vauban, 2011/03/22
- Re: [O] Re: unnumbered subsections in latex export, Suvayu Ali, 2011/03/22
- [O] Re: unnumbered subsections in latex export, Sébastien Vauban, 2011/03/22
- [O] [PATCH] Allow mixed export of numbered and unnumbered sections in LaTeX, Lawrence Mitchell, 2011/03/22
- Re: [O] [PATCH] Allow mixed export of numbered and unnumbered sections in LaTeX, Suvayu Ali, 2011/03/22
- [Accepted] [O] Allow mixed export of numbered and unnumbered sections in LaTeX, Bastien Guerry, 2011/03/23
- Re: [O] [PATCH] Allow mixed export of numbered and unnumbered sections in LaTeX, Bastien, 2011/03/23
- Re: [O] Re: unnumbered subsections in latex export,
Nick Dokos <=
- Re: [O] Re: unnumbered subsections in latex export, Suvayu Ali, 2011/03/22
- Re: [O] Re: unnumbered subsections in latex export, Nick Dokos, 2011/03/22
- [O] [PATCH] Allow mixed export of numbered and unnumbered sections in HTML, Lawrence Mitchell, 2011/03/23
- [Accepted] [O] Allow mixed export of numbered and unnumbered sections in HTML, Bastien Guerry, 2011/03/23
- Re: [Accepted] [O] Allow mixed export of numbered and unnumbered sections in HTML, Nick Dokos, 2011/03/23
- Re: [Accepted] [O] Allow mixed export of numbered and unnumbered sections in HTML, Suvayu Ali, 2011/03/23
- Re: [O] Re: unnumbered subsections in latex export, Bastien, 2011/03/23
- Re: [O] Re: unnumbered subsections in latex export, Nick Dokos, 2011/03/23
- [O] Re: unnumbered subsections in latex export, Lawrence Mitchell, 2011/03/23
- Re: [O] Re: unnumbered subsections in latex export, Nick Dokos, 2011/03/23