Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality

-- VickiBrown - 18 Oct 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic revision: r4 - 2006-11-03 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.