[Tex/LaTex] How to numbering of specific headings be disabled in Org-mode’s LaTeX export

emacsorg-modesectioning

By default Org-mode exports to numbered LaTeX headings. For example, the following

#+title: Test

* Introduction
* Heading
* Heading
* References

exports to

\section{Introduction}
\label{sec-1}
\section{Heading}
\label{sec-2}
\section{Heading}
\label{sec-3}
\section{References}
\label{sec-4}

It is possible to disable numbering for all LaTeX headings by adding #+options: num:nil as in

#+title: Test
#+options: num:nil

* Introduction
* Heading
* Heading
* References

which exports to

\section*{Introduction}
\label{sec-1}
\section*{Heading}
\label{sec-2}
\section*{Heading}
\label{sec-3}
\section*{References}
\label{sec-4}

Note that \section* is a LaTeX macro for unnumbered section.

Is it possible to tell Org-mode to not number particular headings, i.e. via editing the properties of headings? For example, is it possible to get the following LaTeX exported from Org-mode:

\section*{Introduction}
\label{sec-1}
\section{Heading}
\label{sec-2}
\section{Heading}
\label{sec-3}
\section*{References}
\label{sec-4}

I am running Org-mode 7.6 in Emacs 23.3.1.

Best Answer

You need org-mode 8.3 to do this.

From ORG-NEWS

* Version 8.3
[...]
** New features
[...]
*** Export unnumbered headlines
Headlines, for which the property ~UNNUMBERED~ is non-nil, are now
exported without section numbers irrespective of their levels.  The
property is inherited by children.

For example

(with-temp-buffer
  (require 'ox-latex)
  (insert "
* numbered
** subnumbered
* unnumbered
:PROPERTIES:
:UNNUMBERED: t
:END:
** also unnumbered
")
  (org-latex-export-as-latex nil nil nil t))

produces

\section{numbered}
\label{sec-1}
\subsection{subnumbered}
\label{sec-1-1}
\section*{unnumbered}
\label{unnumbered-1}
\subsection*{also unnumbered}
\label{unnumbered-2}

Edit: Since I wrote this the naming scheme of labels changed, so labels would look different these days.

Edit2: One can set headline properties easily with C-c C-x p.