Path: utzoo!utgpu!water!watmath!clyde!att!pacbell!pbhyf!kjk From: kjk@pbhyf.PacBell.COM (Ken Keirnan) Newsgroups: comp.text Subject: Re: nroff/mm problem Keywords: .SP .sp top-of-page Message-ID: <3828@pbhyf.PacBell.COM> Date: 23 Aug 88 16:04:03 GMT References: <372@seila.UUCP> Reply-To: kjk@pbhyf.PacBell.COM (Ken Keirnan) Distribution: na Organization: Pacific * Bell, San Ramon, CA Lines: 43 In article <372@seila.UUCP> don@seila.UUCP (Don Kossman) writes: >this is driving us crazy: > >how do you force nroff (using the mm macro package) >to leave n spaces at the top of a page? .sp and .SP seem >to have no effect. we've RTFM (several of them) and have >had no luck. we are using page headers and footers and i >think that's what's causing the problem, but don't know >how to solve it (beyond inserting an empty table with the >right number of lines...) > >environment is ultrix 2.0; i've tried another mm macro >package (sco xenix 2.2) and had the same problem; >i'm pretty sure both packages are pre-DWB 2.0. > >what are we doing wrong? > Don, I'm not sure about about pre-DWB2.0 mm macro packages, but in 2.0 you want the ".VM" macro (vertical margin). The usage is: .VM [top] [bottom] where "top" and "bottom" are given in vertical line spaces. A value of zero (0) for either adds no additional space. By the way, I discovered a bug in the VM macro (at least the version I have) that caused the spacing to be in device units instead of line spaces. the last line of the macro was .(E 5 0\\$2 \} but should be .(E 5 0\\$2v \} I hope this is useful to you. Ken Keirnan -- Ken Keirnan - Pacific Bell - {att,bellcore,sun,ames,pyramid}!pacbell!pbhyf!kjk San Ramon, California kjk@pbhyf.PacBell.COM