The local keyword would be great.

Right now I'm interested only in HTML export -- I can use Pandoc to convert to anything else.

Thanks!



D. C. (Dell Charles) Toedt III  (my last name is pronounced "Tate"
Attorney and neutral arbitrator -- tech contracts and intellectual property
Lecturer, University of Houston Law Center
​Editor, ​​​Common Draft project:  A readable library of best-practices contract clauses,
     with extensive citations and commentary, updated often.
dc@toedt.com     LinkedIn: dctoedt    Calendar (redacted)
O: +1 (713) 364-6545    C: +1 (713) 516-8968
​​
    
Houston, Texas (Central time zone)

Unless expressly stated otherwise, this message is not intended 
to serve as an electronic signature nor as assent to an agreement.



On Mon, Oct 20, 2014 at 8:41 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

"D. C. Toedt" <dc@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?).

WDYT?


Regards,

--
Nicolas Goaziou