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