P> The easier would be probably using __NOTOC__ to avoid showing it at all. Say, maybe things like __NOTOC__ should be enhanced to only kick in at the point where they are in the file. That way one could toggle on and off what parts of the file should end up in the TOC.
Of course this is just a plot by me to complicate things to the max, so bye.