[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: TOC at the beginning of a chapter file?



From: "Dan Auger" <DanAuger707@excite.com>
> I have a new question for anyone who can help. Is it possible to put a
> sub-TOC in a chapter other than the TOC file of a book? I would like to
> insert a sub-TOC at the beginning of each chapter in the manual I am working
> on.

There is no easy, automatic way to do it, but here are some ideas:
* Make your TOC in the form of cross-references to the headings
  (only suitable if you have few headings that don't change much)
* Make a book-wide TOC and copy/paste the chapter-wide parts
  (lots of manual work, and the paste may change the page count again)
* Generate chapter-wide TOCs from each chapter file and include them
  as text insets in the chapter files (you need to manually generate
  these chapter TOCs before the book is updated)
* On UNIX, you can make "mini-books" for each chapter with a chapter-wide
  TOC in each book, include the TOCs as text insets in the chapter files,
  and then run an fmbatch script to update all "mini-books", then the
  main book, and then all "mini-books" again (lots of files and work)
* For each chapter, create *unique* heading tags only used in that chapter,
  and include a TOC in the book for each chapter that only include the
  heading tags unique for that chapter! Then include the chapter TOCs
  as text insets in the chapter files. If you put all TOCs at the end
  of book, this will actually work completely automatic, but it's a
  pain having different heading tags in each chapter...

Or, rethink your TOC strategy to only have a book-wide TOC...

- - - - - - - - - - - - - - - - - - - - - - - - - -
Thomas Michanek, [Michagon], Linkoping, Sweden
Documentation Consultant, FrameMaker/UNIX expert
EMAIL:  mailto:Thomas.Michanek@telia.com
WWW:    http://go.to/framers , or go directly to:
        http://w1.133.telia.com/~u13304072/framers
- - - - - - - - - - - - - - - - - - - - - - - - - -


** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **