jes@mbio.med.upenn.edu (Joe Smith) (08/06/89)
Does anyone know how to *absolutely force* a page break in troff? I hope there's a trivial solution I've missed, but troff and the macro package work very hard to keep from generating 'extra' space (including extra pages via .bp) at the top of a page. Even a '.rs' just before the '.bp' doesn't work. I'm using (o)troff -me, but I could probably hack in any general solutions. I need this for leaving an empty page (or pages), except for headers and footers, for paste-ins. I suppose in the end, I could simply bump the page# register and format the missing pages separately in raw troff (ugh!). Any better ideas? <Joe -- Joe Smith University of Pennsylvania jes@mbio.med.upenn.edu Dept. of Biochemistry and Biophysics (215) 898-8348 Philadelphia, PA 19104-6059
morrell@hpsal2.HP.COM (Michael Morrell) (08/08/89)
> Does anyone know how to *absolutely force* a page break in troff? > I'm using (o)troff -me. > I need this for leaving an empty page (or pages), except for headers > and footers, for paste-ins. Try the .sk macro in -me. It's documented as "Leave the next output page blank, except for headers and footers. This is used to leave space for a full-page diagram which is produced externally and pasted in later." Michael
arunc@uxe.cso.uiuc.edu (08/08/89)
Example: .pp This is a paragraph of text. .br .bp .br .rs .sp 8i .ce This is a centered title for a figure I will paste in later. .br .bp .pp This is the second paragraph of text.
dbf@myrias.com (David Ferrier) (08/08/89)
In article <JES.89Aug5134600@mbio.med.upenn.edu> jes@mbio.med.upenn.edu (Joe Smith) writes: > >Does anyone know how to *absolutely force* a page break in troff? I >hope there's a trivial solution I've missed, but troff and the macro >package work very hard to keep from generating 'extra' space >(including extra pages via .bp) at the top of a page. >I need this for leaving an empty page (or pages), except for headers >and footers, for paste-ins. The answer to your hopes... <blah blah blah> .\" force a new page .bp .\" put something on it, using zero-width character \& .\" force a new page, leaving one blank page with headers and footers .bp <blah blah blah> -- David Ferrier | computer: Edmonton, Alberta | a million morons uunet!myrias.COM!dbf | working at the speed of light
brainerd@unmvax.unm.edu (Walt Brainerd) (08/09/89)
> >Does anyone know how to *absolutely force* a page break in troff?
The .bp with a page number is supposed to begin a new page with or without
spacing turned on so .bp \n%+1 should work.
--
Walt Brainerd Unicomp, Inc. brainerd@unmvax.cs.unm.edu
2002 Quail Run Dr. NE
Albuquerque, NM 87122
505/275-0800
was@hp-lsd.HP.COM (Bill Stubblebine) (08/10/89)
jes@mbio.med.upenn.edu (Joe Smith) writes: > Does anyone know how to *absolutely force* a page break in troff? The following forces two blank pages, while preserving header and footer processing: .nf .SK (or .bp) <white-space> <white-space> .SK (or .bp) <white-space> <white-space> .SK (or .bp) .fi (or whatever) (Substitute one or more real spaces for <white-space>, of course.) Bill Stubblebine Hewlett-Packard Logic Systems Div. 8245 N. Union Blvd. Colorado Springs, CO 80920 was%hp-lsd@hplabs.HP.COM (Internet) ...!hp-lsd!was (UUCP) (719) 590-5568