I have a long document with frequent uses on an environment that needs to be indexed on a per-section basis. I know that the tocloft package allows creation of custom "list of..."s I also know that the minitoc package allows per-part, per-chapter, or per-section tables of contents.
But I need a custom "list of" that occurs on a per-section basis, that is, both functionalities. I think I have an idea how to implement this: Each instance of the environment writes something to an aux file that is unique to the section, and at the beginning of that section the custom aux file is read, writing that list. But before I start hacking I'm wondering if this wheel has been invented before and I don't know of it.
minitoc, it's much harder to hack. – Leo Liu Mar 03 '11 at 05:37[H](byfloatpackage) placement for your own float environments. – Leo Liu Sep 14 '11 at 07:59\immediate\addcontentsline{<file extension>}{section}{<text>}. – Matthew Leingang Sep 15 '11 at 00:41