I’m considering writing a filter that inserts chapter TOCs via \ChapterTOC:

INPUT (# is for parts, ## is for chapters, etc.):

## Chapter on animals {#animals}
### Section on dogs {#dogs}
#### Subsection on poodles
### Section on cats {#cats}

CHAPTER TOC (number of chapter is 12):

* 12.1. [Section on dogs](#dogs)
* 12.1.2. Subsection on poodles
* 12.2. [Section on cats](#cats)

Considerations:
Is there something I’m overlooking? Any tips or suggestions?

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1bb6e5f4-04ce-4209-8223-f928f2943998%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.