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

  1. Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!hartman
  2. From: hartman@informix.com (Robert Hartman)
  3. Newsgroups: comp.text.frame
  4. Subject: Re: Autonumbering page numbers for chapter TOC
  5. Message-ID: <1992Dec29.184827.11386@informix.com>
  6. Date: 29 Dec 92 18:48:27 GMT
  7. References: <1992Dec29.025734.29052@cbnewsj.cb.att.com>
  8. Sender: news@informix.com (Usenet News)
  9. Organization: Informix Software, Inc.
  10. Lines: 31
  11.  
  12. In article <1992Dec29.025734.29052@cbnewsj.cb.att.com> ralph@cbnewsj.cb.att.com (Ralph Brandi) writes:
  13. >Okay, my first query was so successful I've got another....
  14. >
  15. > ... In addition to the book-wide
  16. >TOC, the format dictates chapter TOCs.  But when I generate the TOCs
  17. >directly from the file, all I get is page numbers, no chapter
  18. >numbers.  ...
  19. >
  20. >I've tried setting the page number on the Reference page to
  21. ><$paranum[ChapterNumber]>-$pagenum> and
  22. ><$paranum[ChapterNumberTOC]>-$pagenum>, neither of which work.
  23. >The only way I can think of to generate chapter TOCs which include
  24. >the chapter number in the page number given these circumstances is
  25. >to create a separate book for each chapter and use the "Set Up File"
  26. >dialog to set the prefix manually.  Has anybody got a better idea?
  27.  
  28. When I was whacking Frame formats, I got around this by means of a user
  29. variable in the chapter.  User variable values are reliably propagated
  30. to generated documents, so when I created a new chapter or rearranged
  31. chapters, I had to remember to update the variable (a minor inconvenience).
  32. I also kept the page layout for the chapter TOC in the original file's
  33. master pages, so when I needed to generate a new chapter TOC I didn't
  34. have to bother with applying formats from a template.  I used column
  35. layout from the page menu instead.  In my TOC paragraph specification
  36. on the reference page, I used references to the user variable instead of
  37. <$paranum ...>.
  38.  
  39. That was the best way I could think of to handle it without going
  40. for a PhD.  Anyone got a better trick?
  41.  
  42. -r
  43.