home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / frame / 3789 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.6 KB  |  35 lines

  1. Newsgroups: comp.text.frame
  2. 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
  3. From: ralph@cbnewsj.cb.att.com (Ralph Brandi)
  4. Subject: Autonumbering page numbers for chapter TOC
  5. Organization: Democrats for Broccoli
  6. Date: Tue, 29 Dec 1992 02:57:34 GMT
  7. Message-ID: <1992Dec29.025734.29052@cbnewsj.cb.att.com>
  8. Lines: 25
  9.  
  10. Okay, my first query was so successful I've got another....
  11.  
  12. I've got multi-chapter books with complex page numbers, autonumbered
  13. with an invisible ChapterNumber tag.  In addition to the book-wide
  14. TOC, the format dictates chapter TOCs.  But when I generate the TOCs
  15. directly from the file, all I get is page numbers, no chapter
  16. numbers.  The ChapterNumber tag is imported into the file
  17. automatically for the title at the top of the page with a reference
  18. on the Reference page of the original document as "Chapter <$paranum>"
  19. with a tag of ChapterNumberTOC.
  20.  
  21. I've tried setting the page number on the Reference page to
  22. <$paranum[ChapterNumber]>-$pagenum> and
  23. <$paranum[ChapterNumberTOC]>-$pagenum>, neither of which work.
  24. The only way I can think of to generate chapter TOCs which include
  25. the chapter number in the page number given these circumstances is
  26. to create a separate book for each chapter and use the "Set Up File"
  27. dialog to set the prefix manually.  Has anybody got a better idea?
  28.  
  29. Ralph Brandi
  30. -- 
  31. Ralph Brandi     ralph@mtunp.att.com     att!mtunp!ralph
  32.  
  33. "Dave / And if we were'nt good to you Dave / You shouldn't take it all the
  34. way to your grave / We should all just learn how to behave" -Will Rigby
  35.