From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Export: Numbered subtree whose parent has unnumbered: t Date: Wed, 06 Jul 2016 11:00:38 +0200 Message-ID: <87oa6bgmyx.fsf@saiph.selenimh> References: <87162A46-4452-4F66-A6E2-A8FDBF5FF400@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKiiP-0002fx-2f for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 05:01:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKiiK-0005V7-Ur for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 05:01:52 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:50509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKiiK-0005Uf-OS for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 05:01:48 -0400 In-Reply-To: <87162A46-4452-4F66-A6E2-A8FDBF5FF400@gmail.com> (Spencer Hill's message of "Tue, 5 Jul 2016 17:08:01 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Spencer Hill Cc: emacs-orgmode@gnu.org Hello, Spencer Hill 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