[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Export: Numbered subtree whose parent has unnumbered: t
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Export: Numbered subtree whose parent has unnumbered: t |
Date: |
Wed, 06 Jul 2016 11:00:38 +0200 |
Hello,
Spencer Hill <address@hidden> writes:
> C.f. this emacs.stackexchange question:
> http://emacs.stackexchange.com/q/24313/8818
>
> As of version 8.3 of org, numbering of subtrees in export can be
> toggled via the :UNNUMBERED property. This applies to subheadings
> regardless of their own :UNNUMBERED property value. MWE:
> * Heading
> :PROPERTIES:
> :UNNUMBERED: t
> :END:
> ** Subheading
> :PROPERTIES:
> :UNNUMBERED: nil
> :END:
> This generates for LaTeX export
>
> ...
> \section*{Heading}
> \label{sec:orgheadline2}
> \subsection*{Subheading}
> \label{sec:orgheadline1}
> Is there some other way to toggle this at the subheading level? I need
> a heading to be un-numbered when exported to LaTeX, but its child
> subheading to be numbered. I.e. \section*{Heading} and
> \subsection{Subheading}.
That is not possible out of the box.
Depending on your needs you can define a new class so that every
\section is starred.
Regards,
--
Nicolas Goaziou