Article View: comp.text
Article #3281Help with mm macro
From: William J. Carson
Date: Thu, 22 Jan 1987 20:59
Date: Thu, 22 Jan 1987 20:59
44 lines
1653 bytes
1653 bytes
Help:
We have been using the following mm based macro here for about 6 years and
suddenly it does not seem to work. When a ".F1 String" is encountered in an
nroff file, it is supposed to finish printing on the current page then on the
following page it should print : "This page for String", then skip a page.
However, this is not the case. What it is doing is printing a few words
from the previous page along with the string. So it ends up printing
something like this:
and in conclusion This page for String
and then it skips a page. Please mail me any pointers or suggestions.
The .F1 macro follows:
\" This is the start of the F1 definition file.
.nr tk 0
.de KI
.ds B "
..
.de T1
.ie \\n(.$>0 .nr tk \\n(tk+\\$1
.el .nr tk \\n(tk+1
..
.de F1
.T1 "\\$1"
.as B " \\$2;
..
.am TP
.if \\n(tk>0 .ie \\n%>1 \{\
. nr P (\\n%+\\n(tk-1)
. el .nr P (\\n%+\\n(tk+1)
. nr tk 0
This page is for \\*B
.ds B " "
. SK
.\}
..
\" This is the end of the F1 def. file.
--
wjc@rayssd.RAY.COM
{ cbosgd, gatech, ihnp4, uiucdcs }!rayssd!wjc
Technical Details
Message-ID:
<581@rayssd.RAY.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!brl-adm!rutgers!pyrnj!mirror!rayssd!wjcShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!brl-adm!rutgers!pyrnj!mirror!rayssd!wjc From: wjc@rayssd.RAY.COM (William J. Carson) Newsgroups: comp.text Subject: Help with mm macro Message-ID: <581@rayssd.RAY.COM> Date: Thu, 22-Jan-87 15:59:06 EST Article-I.D.: rayssd.581 Posted: Thu Jan 22 15:59:06 1987 Date-Received: Fri, 23-Jan-87 21:26:46 EST Sender: wjc@rayssd.RAY.COM (William J. Carson @ Raytheon Company, Portsmouth RI) Organization: Raytheon Company, Portsmouth RI Lines: 44 Keywords: mm, help