Question
I have a page called MediaOpsTipsNTricks
It references half a dozen other "tips and tricks" pages by including their TOCs, e.g.
---++ Mac OS X Tips
%TOC{"MediaOpsMacTips" depth="2"}%
All such inclusions work except one. The following is not working
%TOC{"MediaOpsTWikiTips" depth="2"}%
Instead of a TOC I get
TOC: No TOC in "Media.MediaOpsTWikiTips"
There
is a TOC on that page. When I navigate to that page, the TOC is present.
Of the half dozen included TOCs only this one fails.
Does anyone know why?
Environment
--
VickiBrown - 18 Oct 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
The error message is a bit missleading, TOC is looking for headings, if there are none it sgould report "can't create TOC because no headings found in...". This can happen with a topic that has headings if the topic has a STARTINCLUDE / ENDINCLUDE without any headings in between.
--
PeterThoeny - 19 Oct 2006
That's... amusing.
I did have a STARTINCLUDE / ENDINCLUDE without any headings in between.
The thing is, they were inside a set of verbatim /verbatim tags.
Bug?
--
VickiBrown - 01 Nov 2006
There is no documentation that the STARTINCLUDE / ENDINCLUDE do not take effect inside a verbatim block, so this is not a bug strictly speaking. Usability is another question.
--
PeterThoeny - 03 Nov 2006