Re: [Groff] End-of-page macro problem at end of input file...

2012-01-08 Thread Clarke Echols
On 01/08/2012 06:43 AM, Ralph Corderoy wrote: Hi Clarke, .de print_page_number .ev pr_print_pageno .\" Register `XX' is defined in the text source file: .\" XX=1 means title page which has no printed page>number. .\" XX=0 means other pages which all have p

Re: [Groff] End-of-page macro problem at end of input file...

2012-01-08 Thread Ralph Corderoy
Hi Clarke, > .de print_page_number > .ev pr_print_pageno > .\" Register `XX' is defined in the text source file: > .\" XX=1 means title page which has no printed page >number. > .\" XX=0 means other pages which all have printed page numbers. > . > . if !\\n(

Re: [Groff] End-of-page macro problem at end of input file...

2012-01-08 Thread Anton Shepelev
Clarke Echols: > I know the 'bp is the cause, but don't know how to > handle page numbering at the bottom of the page > while suppressing the 'bp request after EOF is > reached. Do I understand you correctly that you are calling a 'bp explicitly in the end of your file? If so, maybe

[Groff] End-of-page macro problem at end of input file...

2012-01-06 Thread Clarke Echols
I've been using some macros I wrote to produce certain types of reports, and to print transcripts of presentations, etc. But I've encountered a problem that puzzles me. I set a top-of-page trap to handle the page-headings before continuing normal content text, and a bottom-of-page trap to set the