[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] footer macro
From: |
Erich Hoffmann |
Subject: |
[Groff] footer macro |
Date: |
Sun, 14 Dec 2003 20:58:36 +0100 |
User-agent: |
KMail/1.5.3 |
Hello.
There is something very simple I am not able to see, excuse me for this
trivial problem.
I wrote header and footer macros. In a running text, when the page breaks,
it always leaves a single word as the last line.
I tried the tutorial examples of the Ossanna/Kernighan script,
copying them verbatim - - but the output remains:
-text- -text- -text- -text- -text- -text- -text- -text- -text- -text-
-text- -text- -text- -text- -text- -text- -text- -text- -text- -text-
-text- -text- -text- -text- (page bottom) -text- -text- -text- -text-
-text-
(next page)
-text- -text- -text- -text- (page top) -text- -text- -text- -text-
-text- -text- -text- -text- -text- -text- -text- -text- -text- -text-
-text- -text- -text- -text- -text- -text- -text- -text- -text- -text-
If I insert page numbering, then it becomes:
-text- -text- -text- -text- -text- -text- -text- -text- -text- -text-
-text- -text- -text- -text- -text- -text- -text- -text- -text- -text-
-text- -text- -text- -text- (page bottom) -text- -text- -text- -text-
- % -
-text-
(next page)
-text- -text- -text- -text- (page top) -text- -text- -text- -text-
-text- -text- -text- -text- -text- -text- -text- -text- -text- -text-
-text- -text- -text- -text- -text- -text- -text- -text- -text- -text-
The code burns down to this:
.de hd
'sp 1i
..
.de fo
'br
..
.wh 0 hd
.wh -1i fo
..
...and the output remains the same, no matter what I add or how I set
the page length with [.pl].
Well, I wrote footer macros before and before they always worked.
I have a newly installed Mandrake 9.2, the groff version is 1.19.
This shurely is a beginners question, please don't be annoyed.
Best,
Erich.
- [Groff] footer macro,
Erich Hoffmann <=