home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / frame / 3748 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!att-out!pacbell.com!UB.com!grafex!steveh
  2. From: steveh@grafex.Cupertino.CA.US (Steve Harding KA6ETB)
  3. Newsgroups: comp.text.frame
  4. Subject: Re: Chapter Headings
  5. Keywords: Chapters
  6. Message-ID: <0N65VB7w165w@grafex.Cupertino.CA.US>
  7. Date: Mon, 21 Dec 92 08:44:08 PST
  8. References: <BzL74n.Fyo@world.std.com>
  9. Distribution: world
  10. Organization: The GRAFex Company
  11. Lines: 41
  12.  
  13. halberst@world.std.com (jerry halberstadt) writes:
  14.  
  15. > Steve's solution looks good and similar to a workaround I had to implement.
  16. > However, I wasn't able to have the autonumbering picked up in the
  17. > generation of a TOC, and instead had to generate autonumbers in the TOC
  18. > paragraphs. Thus, 
  19. > Chapter 3, {Paraformat chapter + autonumber}
  20. >     Widget Magic, {Paraformat title}
  21. > would appear in the TOC as Chapter.
  22. > I solved it with {Paraformat title.toc} using autonumbering to create:
  23. > 3 Widget Magic.
  24. > But why, o why, can't I directly get in the TOC:
  25. > Chapter 3 Widget Magic.......Page 30
  26.  
  27. Is indeed a problem.  I use the TOC paratags and let maker number when
  28. generating the TOC.
  29.  
  30. In the numbering option for each paratag:
  31.  
  32. TitleTOC   : <n+>< =0>< =0>  (I number headers two levels deep.)
  33. 2HeaderTOC : <n><n+>< =0>  (the =0 resets the number to 0 without printing.)
  34. 3HeaderTOC : <n><n><n+>    (Note: the space in front of the = is needed.)
  35.  
  36. On the TOC reference page (for your example above), I would use:
  37.  
  38. Chapter <$paranum> <$paratag> | Page <$pagenum>  ( | indicates tab)
  39.  
  40. This should generate what you want.
  41.  
  42. s
  43.  
  44. -- 
  45. play:steveh@grafex.Cupertino.CA.US 408.252.0578     work:harding@nas.nasa.gov
  46.               A prince trapped in the body of a dirty old man.
  47.