Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!munnari!uqcspe!miw From: miw@uqcspe.OZ (Mark Williams) Newsgroups: comp.os.vms Subject: Re: DSR RUNOFF bug? Message-ID: <1654@uqcspe.OZ> Date: Wed, 4-Nov-87 23:32:34 EST Article-I.D.: uqcspe.1654 Posted: Wed Nov 4 23:32:34 1987 Date-Received: Sun, 8-Nov-87 01:49:24 EST References: <8710262017.AA09044@ucbvax.Berkeley.EDU> Reply-To: miw@uqcspe.oz (Mark Williams) Organization: Prentice Computer Centre, University of Queensland Lines: 26 Summary: HEADERS take space, too In article <8710262017.AA09044@ucbvax.Berkeley.EDU> J_CERNY@UNHH.BITNET writes: >RUNOFF generates a reasonably nice looking toc and index, BUT most >of the page numbers are wrong. Over the length of a 50-page >document the numbers gradually (but not in any noticible pattern) increase >so that they are off by 4 (too many). .... > By way of more detail, I generate the lines >to enter in the toc by .header commands, treating them as an .if/.endif .... >(4) a final pass in which the conditional >settings ignore the previous .header commands, Well, what is happening is that the table of contents is generated on the assumption that the headers are to be allowed space, but the actual document is generated without the headers, and hence no space allowed for them. If you have a lot of .header commands, this could easily add up to 4 pages or so. Mark Williams ARPA: ccwilliams%wombat.decnet.oz@uunet.uu.net -- The views expressed above are not necessarily those of my employer. In a couple of hours they may not even be my own. Small boys throw stones in fun, but the frogs die in ernest. -- Mark Twain.