Short: PGS3 arexx script - create a table of contents Uploader: Michael.Merkel@gmx.net (Michael Merkel) Author: Michael.Merkel@gmx.net (Michael Merkel) Type: text/dtp Replaces: text/dtp/CreateTOC.lha Version: V1.01 (13. June 1998) ABOUT This is an ARexx script for use with PageStream3. It *tries* to create a table of contents for the current document. Just start the script when the document is opened. DISTRIBUTION spread it! use it! _write me!_ REQUIREMENTS - PageStream3 (of course!!!) - >= V3.3x - a document with several chapters and subchapters. USAGE * insert the script in your script palette (rx Scripts/CreateTOC.rexx) * open a document with several chapters and start the script. * The following styles for chapters/subchapters are created: "TOCChapter" "TOCSubChapter" * A new chapter "TableOfContents" is created at the beginning. * A new MasterPage for this chapter is created ("TOC MasterPage"). (size: A4 portrait only! - you may change this in the script!) * It's _not_ perfect! But it works basically. you can edit the page after generating. NOTES: * If the TOC is longer than one page you must edit it manually. * If the styles or masterpage or chapter already exist they will be DELETED!!! * Hmmm... Seems the page numbers are not correct. No solution yet :-( HISTORY V1.00 (26. July 1997) (12. June 1998) * Aminet release V1.01 (13. June 1998) * corrected EMail address AUTHOR Michael Merkel (MiMe@IRC) Michael.Merkel@gmx.net (Michael Merkel) http://home.t-online.de/home/Merkel.Michael/ THANKS TO SoftLogik for this wonderful program! It's the best on all platforms...