Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > "D. C. Toedt" <d...@toedt.com> writes: > >> I'd like to do sub-TOCs for individual sections and subsections. > > We could add a "local" keyword to TOC lines, e.g., > > #+TOC: headlines 1 local > > would mean only top level children in current headline. > > This feature is trivial to add to ox-ascii, probably easy for ox-html or > ox-odt, assuming someone can provide the expected code. > > Implementing it in ox-latex probably boils down to requiring another > package (minitoc?).
I'm pretty sure you need an exernal package. titletoc or minitoc. At least memoir seems to have issues with minitoc. KOMA-Script seems to be ok. titletoc scores points for having a 24 pages manual, versus 800+ pages. Personally, I don't like the default style of minitoc. > WDYT? It's neat and I'd probably never use it. —Rasmus -- Hooray!