home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!hartman
- From: hartman@informix.com (Robert Hartman)
- Newsgroups: comp.text.frame
- Subject: Re: Autonumbering page numbers for chapter TOC
- Message-ID: <1992Dec29.184827.11386@informix.com>
- Date: 29 Dec 92 18:48:27 GMT
- References: <1992Dec29.025734.29052@cbnewsj.cb.att.com>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 31
-
- In article <1992Dec29.025734.29052@cbnewsj.cb.att.com> ralph@cbnewsj.cb.att.com (Ralph Brandi) writes:
- >Okay, my first query was so successful I've got another....
- >
- > ... 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. ...
- >
- >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?
-
- When I was whacking Frame formats, I got around this by means of a user
- variable in the chapter. User variable values are reliably propagated
- to generated documents, so when I created a new chapter or rearranged
- chapters, I had to remember to update the variable (a minor inconvenience).
- I also kept the page layout for the chapter TOC in the original file's
- master pages, so when I needed to generate a new chapter TOC I didn't
- have to bother with applying formats from a template. I used column
- layout from the page menu instead. In my TOC paragraph specification
- on the reference page, I used references to the user variable instead of
- <$paranum ...>.
-
- That was the best way I could think of to handle it without going
- for a PhD. Anyone got a better trick?
-
- -r
-