From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [RFC] Exclude headlines from TOC, take 2
Date: Sun, 15 Oct 2017 21:40:26 +0200 [thread overview]
Message-ID: <871sm419p1.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87zi93gi10.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 07 Oct 2017 16:16:27 +0200")
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Here is another take on the possibility to exclude headlines from the
> table of contents.
>
> Last attempt was rejected because users need to include /unnumbered/
> headlines in the TOC. Point taken. However, I don't think it makes sense
> to exclude /numbered/ headlines from the TOC. Hence, I propose to
> exclude any headline with an UNNUMBERED property set to "notoc".
>
> So basically,
>
> - only unnumbered headlines can be excluded
> - we do not introduce another property
[...]
> 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.
next prev parent reply other threads:[~2017-10-15 19:40 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 [this message]
2017-10-16 16:35 ` Kaushal Modi
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=871sm419p1.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--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).