Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Missing functionality, Documentation, Plugins, Add-Ons

-- MatthiasKorn - 09 Jul 2008

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-09-28 - OlivierThompson
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.