I use the (:toc:) at the top of this faq:&nbsp; <a href="http://www.wikitraining.com/PmWiki/FAQ">http://www.wikitraining.com/PmWiki/FAQ</a><br>
<br>
the recipe is in Cookbook/PageTableOfContents<br>
<br>
Hope that Helps.<br><br><div><span class="gmail_quote">On 11/2/05, <b class="gmail_sendername">Waylan Limberg</b> &lt;<a href="mailto:waylan@gmail.com">waylan@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I redefined some Q&amp;A markup for my FAQs pages so that each question<br>(Q:Some question) gets an anchor of &quot;#Some_question&quot;. What I would<br>like to do is add a directive (possibly (:toc:)) to create an<br>unordered list of all the questions on the page. That way, all the
<br>questions could be listed at the top of the page as links and one<br>could click to jump to the question and answer lower on the page.<br><br>It would be really cool if one could do (:toc pages=Some.Page,<br>Some.OtherPage
) to create a list of all FAQs on all listed pages.<br>Perhaps (:toc pagelist=Some.PageList:) would be better. Or how about<br>(:toc group=GroupName:) for a list of all FAQs on all pages in that<br>group.<br><br>Anyway, I have seen a couple references to (:toc:) before, but have
<br>never found an explanation anywhere. I have gotten the feeling in the<br>past that there is a recipe somewhere that already does this, but<br>haven't been able to find it. Could someone point me in the right<br>direction.
<br><br>If it doesn't exist, I just may do it myself. What would be the best<br>way to go about collecting all the anchors from a page (or Pagelist or<br>Group of pages) to build the list of questions? I think that would be
<br>enough to get me started.<br>
</blockquote></div><br>