I have put Include WP into a template. When I use that template in another page that has a TOC then the TOC loads with the page as normal but when the Include WP renders the included text the TOC is disappears. In fact, from looking at the source in Firebug it looks like the TOC HTML is removed.
Topic on Extension talk:Include WP
I found the problem but I don't know enough JS to fix it...
The JS file ext.incwp.js function showPageFragment the toc is removed but instead of just removing it from the imported fragment it is removing it from the whole page.
If anyone could suggest a fix I would appreciate it :-)