From: Spencer Hill <spencerahill@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Export: Numbered subtree whose parent has unnumbered: t
Date: Tue, 5 Jul 2016 17:08:01 -0700 [thread overview]
Message-ID: <87162A46-4452-4F66-A6E2-A8FDBF5FF400@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 829 bytes --]
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}.
Thanks!
Best,
Spencer
Spencer Hill
spencerahill@gmail.com
(913) 515-8527
[-- Attachment #2: Type: text/html, Size: 4480 bytes --]
next reply other threads:[~2016-07-06 0:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-06 0:08 Spencer Hill [this message]
2016-07-06 9:00 ` Export: Numbered subtree whose parent has unnumbered: t Nicolas Goaziou
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87162A46-4452-4F66-A6E2-A8FDBF5FF400@gmail.com \
--to=spencerahill@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).