Newsgroups: comp.windows.ms Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!gg2 From: gg2@cunixf.cc.columbia.edu (Guy Gallo) Subject: Re: W4W Message-ID: <1991Jun5.004213.8723@cunixf.cc.columbia.edu> Organization: Columbia University Date: Wed, 5 Jun 1991 00:42:13 GMT In article <9079.2849CD86@onebdos.oneb.wimsey.bc.ca> Dave.DeGear@f22.n681.z89.onebdos.UUCP (Dave DeGear) writes: >How can you get W4W to change headers and footers between >sections of one document? For example, if you have a >chapter title as a header, how can you change it when you >hit the next chapter? How can you get the page numbers to >start over with the next section is a variation of this >question. To do what you ask is actually simple, and pretty elegant in WfW. It requires that you insert a StyleRef field in the header (or footer) with the formatting you desire. And it requires that you have a style defined for Chapter headings and that you have the chapter headings consistently formatted with that style. For instance, in a book I'm writing, I have heading 1 as Chapter Heading, and heading 2 as Section. So, I might have something like "Chapter One", "Laundry", the former formatted as heading 1, the latter as heading 1. In my header right aligned, I have: {styleref heading 1} - {styleref heading 1} And what prints is Chapter One - Laundry. To enter a field either select Insert.Field, and pick the field from the menu, or press Ctrl-F9 to enter field brackets and type the field name and style name. Note, this would also work if the name of the style were ChapeterHeading... Hope this helps.