Question
Hi, we are trying realize an online book project, where several authors can contribute to an
OpenBook which (for now) will only be available in our designated TWiki installation. A print version or other formats are (for now) not intended.
Are there any projects or examples which are trying to achieve similar things?
At the moment, our problem is to automatically create a table of contents of several wiki pages which resemble the chapters of the book (each chapter on a separate wiki page).
Is there some way I can query those pages for creating the TOC of the book?
Thank you for your time, Matthias Korn
Environment
--
MatthiasKorn - 09 Jul 2008
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.
Yes this is possible. You need to use the
VarTOC keyword, like this :
%TOC{"aTopic"}%
%TOC{"bTopic"}%
You can also retrieve the topic list from a search, and for each topic in the the list, print the TOC ( see
VarSEARCH and
FormattedSearch).
--
OlivierThompson - 02 Sep 2008
--
OlivierThompson - 28 Sep 2008