this patch provides support for a subsubsectionstyle key to \tableofcontent tag. As section and subsection, it takes subvalues separated by /. each value can be hide, show, shaded. For this one, there is four values:
- current subsubsection
- current subsection, but other subsubsection
- current section, but other subsection
- other section
I had an issue for when all the values are provided because I seem to be unable to gobble 3 symbols to eat all the / added after the argument. I hope you'll know how to solve this and don't discard the patch for this reason.
If you like the patch, I plan to go further and provide an "highlight" action along with hide/show/shaded, and also to give ability to specify different actions for past and forthcoming elements. Of course, if you want to implement these other improvement yourself, feel free ;)
Hope you like the patch,