all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Spencer Hill <spencerahill@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Export: Numbered subtree whose parent has unnumbered: t
Date: Wed, 06 Jul 2016 11:00:38 +0200	[thread overview]
Message-ID: <87oa6bgmyx.fsf@saiph.selenimh> (raw)
In-Reply-To: <87162A46-4452-4F66-A6E2-A8FDBF5FF400@gmail.com> (Spencer Hill's message of "Tue, 5 Jul 2016 17:08:01 -0700")

Hello,

Spencer Hill <spencerahill@gmail.com> 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

      reply	other threads:[~2016-07-06  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-06  0:08 Export: Numbered subtree whose parent has unnumbered: t Spencer Hill
2016-07-06  9:00 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oa6bgmyx.fsf@saiph.selenimh \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=spencerahill@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.