[comp.text] inserting blank pages in troff documents

palach@umaxc.weeg.uiowa.edu (Paparao Palacharla) (06/05/91)

 Hi troff-users!

	How can you insert blank pages with page numbers within a document?
The blank pages will be used for putting figures/tables etc. The pages before
and after the blank page need to be completely filled. I don't think i can
use .bp command.

Thanx in advance.

Paparao
e-mail : palach@umaxc.weeg.uiowa.edu

doj@cpg.trs.reuter.com (Dave James) (06/06/91)

How to insert blank pages in troff? I use an escaped space on the
blank page, so troff thinks there is real text, thus actually
"break paging" the 2nd time.. e.g.,

	.bp
	\<SPACE_HERE>
	.bp

Dave James

npn@cbnewsl.att.com (nils-peter.nelson) (06/06/91)

In article <6339@ns-mx.uiowa.edu>, palach@umaxc.weeg.uiowa.edu (Paparao Palacharla) writes:
> 
>  Hi troff-users!
> 
> 	How can you insert blank pages with page numbers within a document?
> The blank pages will be used for putting figures/tables etc. The pages before
> and after the blank page need to be completely filled. I don't think i can
> use .bp command.
> 
> Thanx in advance.
> 
> Paparao
> e-mail : palach@umaxc.weeg.uiowa.edu


.SK n
leaves n numbered but otherwise blank pages.
If you really want to move later material forward

troff stuff
.DK
.sp 60
.DE
later stuff

will leave a blank (but numbered) page after filling
the current page.

rupley@cs.arizona.edu (John Rupley) (06/07/91)

In article <1922@richsun.cpg.trs.reuter.com> doj@cpg.trs.reuter.com (Dave James) writes:
>How to insert blank pages in troff? I use an escaped space on the
>blank page, so troff thinks there is real text, thus actually
>"break paging" the 2nd time.. e.g.,
>
>	.bp
>	\<SPACE_HERE>
>	.bp

I believe the request was for a method to get an empty page after the
current page was filled.  With mm macros the following should work (I
haven't tested it):

\" In header
.nr De 1
.nr Df 4
	text....
.DF
\" For a "blank" page, with header, footer, and number
.DE
	more text....

Other ways to do it, but this seems pretty simple.

John Rupley