home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.frame
- Path: sparky!uunet!spool.mu.edu!wupost!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!att-out!cbnewsj!ralph
- From: ralph@cbnewsj.cb.att.com (Ralph Brandi)
- Subject: Autonumbering page numbers for chapter TOC
- Organization: Democrats for Broccoli
- Date: Tue, 29 Dec 1992 02:57:34 GMT
- Message-ID: <1992Dec29.025734.29052@cbnewsj.cb.att.com>
- Lines: 25
-
- Okay, my first query was so successful I've got another....
-
- I've got multi-chapter books with complex page numbers, autonumbered
- with an invisible ChapterNumber tag. In addition to the book-wide
- TOC, the format dictates chapter TOCs. But when I generate the TOCs
- directly from the file, all I get is page numbers, no chapter
- numbers. The ChapterNumber tag is imported into the file
- automatically for the title at the top of the page with a reference
- on the Reference page of the original document as "Chapter <$paranum>"
- with a tag of ChapterNumberTOC.
-
- I've tried setting the page number on the Reference page to
- <$paranum[ChapterNumber]>-$pagenum> and
- <$paranum[ChapterNumberTOC]>-$pagenum>, neither of which work.
- The only way I can think of to generate chapter TOCs which include
- the chapter number in the page number given these circumstances is
- to create a separate book for each chapter and use the "Set Up File"
- dialog to set the prefix manually. Has anybody got a better idea?
-
- Ralph Brandi
- --
- Ralph Brandi ralph@mtunp.att.com att!mtunp!ralph
-
- "Dave / And if we were'nt good to you Dave / You shouldn't take it all the
- way to your grave / We should all just learn how to behave" -Will Rigby
-