Ralph Corderoy: > > Yes, and this is exactly what hd@set-page does. > > The documentation doesn't say that P is not > > read-only. I consider hd@set-page as a setter > > of the field P and therefore preferable to set- > > ting P directly. If it was not so trivial my > > mehtod would be less likely to break anything. > > But you are right that your version does not re- > > quire knowledge of mm's internals. > > To my mind as it does more than just set P so it's > worth poking about under the covers. > > .de hd@set-page > . > .ie \n[.$]>0 .nr P \$1 > .el .nr P +1 > . > .ds hd*sect-pg \n[H1]-\n[P] > .if \n[Sectp]>1 .if '\n[H1]'0' .ds hd*sect-pg " > ..
Thanks, I missed the piece about hd*sect-pg. My version is definitely better then. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
