scowles@uunet.uu.net (Sid Cowles) (04/22/89)
i would like very much to use memorandum macros with nroff and/or ptroff on a sun 4. unfortunately, when i do, i get unusable page numbers. the page numbers come out with about 102 leading zero's in spite of specifying .af P 1 before any page numbers are printed. the versions of mm that i have been trying are 10.108 and 11.47. i've noticed that the number register P has a size of 3 (using the .pm call). the files that i'm using work as expected with nroff and mm under two other operating systems. has anyone got any ideas on this one? sid s cowles att: +1 415 423 0929 lawrence livermore national lab uucp: {backbone}!lll-lcc!scowles environmental sciences division internet: scowles@lll-lcc.llnl.gov p. o. box 5507; L-524 livermore, california 94550
scowles@uunet.uu.net (Sid Cowles) (04/26/89)
i would like to thank the people who responded to this query. the answer was straightforward: mm has a function that older versions of {n,t}roff don't handle (the \g function). thanks very much for the assistance. sid s cowles uucp: {backbone}!lll-lcc!scowles internet: scowles@lll-lcc.llnl.gov
jbw%bucsf.BU.EDU@bu-cs.bu.edu (Joe Wells) (05/06/89)
In Sun-Spots-Digest: vol. 7, no. 239, msg. 21 of 21, S. Cowles writes:
i would like very much to use memorandum macros with nroff and/or ptroff
on a sun 4. unfortunately, when i do, i get unusable page numbers. the
page numbers come out with about 102 leading zero's in spite of specifying
.af P 1 before any page numbers are printed. the versions of mm that i
have been trying are 10.108 and 11.47. i've noticed that the number
register P has a size of 3 (using the .pm call).
{n,pt,ps}roff under SunOS (some versions?) does not support the "\g"
interpolation command. The "\g" command is used by the "mm" macro package
in several places. I can tell you how to modify your copy of the "mmt"
file so that it works.
--
Joe Wells <jbw@bucsf.bu.edu>
jbw%bucsf.bu.edu@bu-it.bu.edu
...!harvard!bu-cs!bucsf!jbw