From b9105dcb0a996eb7322a97f69a646489a21ca3d2 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 6 Oct 2000 13:22:24 +0000 Subject: Fix the `missing footer' problem. See the comment for details. Obtained from: NetBSD --- contrib/groff/tmac/doc-common | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'contrib') diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common index f80d63c..00a1913 100644 --- a/contrib/groff/tmac/doc-common +++ b/contrib/groff/tmac/doc-common @@ -319,6 +319,13 @@ .\" .tm IN 444 fM .k == \\n(.k and nl == \\n(nl .. .de lM +.\" We may still have a partial line in the enviroment. If this is the case, +.\" and we happen to be on the last line of the page, the .fl will cause the +.\" page to be ejected and troff will immediately exit. If we're in nroff +.\" mode, this would be unfortunate, since we would never get a chance to +.\" output the footer. So we fudge the page length, to make sure that the +.\" last page is never ejected until we want it to be. +.if \\n(cR .pl +3v .fl .if \\n(cR \{\ ' sp -- cgit v1.1