emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [RFC] Exclude headlines from TOC, take 2
Date: Mon, 16 Oct 2017 16:35:53 +0000	[thread overview]
Message-ID: <CAFyQvY3+Ms-d5tzxPT7ja61Pex47WXrETdvG+K61g-hDEgHVxw@mail.gmail.com> (raw)
In-Reply-To: <871sm419p1.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]

On Sun, Oct 15, 2017 at 3:41 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
> > I attach a possible implementation, with documentation and tests. Note
> > that this doesn't work with LaTeX export back-end, which still dutifully
> > ignores any unnumbered headline. Patches welcome to improve this.
>
> Pushed.
>

Works great! Thank you!

My brief test for C-c C-e h o

#+TITLE: Test for new UNNUMBERED notoc feature

* Org version
=master= branch as of <2017-10-16 Mon>
-
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=9b13e44ad795792afabb0623b58653bbf35bf040
* This heading will not be numbered, but will be present in TOC
:PROPERTIES:
:UNNUMBERED: t
:END:
Something
** Sub heading A
* This heading will not be numbered, and also will be absent in TOC
:PROPERTIES:
:UNNUMBERED: notoc
:END:
Something
** Sub heading B
* Regular heading
Once again this is a regular heading and will appear numbered, and in the
TOC too.
** Sub heading C

-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1875 bytes --]

      reply	other threads:[~2017-10-16 16:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-07 14:16 [RFC] Exclude headlines from TOC, take 2 Nicolas Goaziou
2017-10-15 19:40 ` Nicolas Goaziou
2017-10-16 16:35   ` Kaushal Modi [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

  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=CAFyQvY3+Ms-d5tzxPT7ja61Pex47WXrETdvG+K61g-hDEgHVxw@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).