emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [RFC] Exclude headlines from TOC, take 2


From: Nicolas Goaziou
Subject: Re: [O] [RFC] Exclude headlines from TOC, take 2
Date: Sun, 15 Oct 2017 21:40:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Nicolas Goaziou <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]