🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #6113

Help needed with n/troff and ms macros

#6113
From: Leonard Vanek
Date: Wed, 05 Apr 1989 13:31
35 lines
2152 bytes
I realize that n/troff is obsolete and that everyone in this group is
now using TeX (:-), but in the hopes that someone here may have the answer
to my questions I am posting here.

I am using the version of n/troff and the ms macros that comes with
SunOS. I am experiencing two difficulties, neither of which I can
solve.

1) I have some full-page figures that I would like to reserve spave
for without actually printing blank pages every time I print a draft
copy of the report. I cannot figure out how to increment the page
number without actually printing blank pages. I tried fiddling with
the value of the ms PN number register as well as the % register and
got either no difference or a permanently frozen incremented page
number. I can't seem to find the right combination.

2) I am using the ms table of contents generator (XS, XE, PX) and
discovering that for entries of a certain length (i.e. just below the
length at which they would wrap to a second line) the dots and page
number are omitted. The only fix that works is to shorten the entry's
text somehow. I tried reading the macro definition to figure out what
it was doing but have neither the time nor the patience to try to
decipher that obscure code.

If anyone can help me solve either of these problems I would be
grateful. Please e-mail me a reply because I do not always get a
chance to read the news before it expires.

--------------------------------------------------------------------
Leonard Vanek                  UUCP: ... uunet!attcan!lsuc!array!len
Array Systems Computing Inc.    or ... utzoo!dciem!array!len
5000 Dufferin St. Suite 200     or lsuc!array!len@ai.toronto.edu
Downsview, Ont. M3H 5T5        Phone: (416) 736-0900
Canada                         FAX:   (416) 736-4715
Technical Details
Message-ID: <20@array.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!dciem!dretor!array!len

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dciem!dretor!array!len
From: len@array.UUCP (Leonard Vanek)
Newsgroups: comp.text
Subject: Help needed with n/troff and ms macros
Keywords: nroff, troff, ms, page numbers, table of contents
Message-ID: <20@array.UUCP>
Date: 5 Apr 89 13:31:54 GMT
Distribution: na
Organization: Array Systems Computing, Toronto, CANADA
Lines: 35