Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.wanted,net.unix-wizards Subject: [nt]roff macros for ptx(1) output Message-ID: <3266@utzoo.UUCP> Date: Mon, 17-Oct-83 13:54:45 EDT Article-I.D.: utzoo.3266 Posted: Mon Oct 17 13:54:45 1983 Date-Received: Mon, 17-Oct-83 13:54:45 EDT Organization: U of Toronto Zoology Lines: 27 ut-sally!riddle asked for macros to get decent-looking output from the stuff ptx(1) puts out. I'm posting this to a wider audience because it is probably of wider interest. After running into this issue here, I added the following to our ptx(1) manual page: .SH EXAMPLE The following is a reasonably-minimal set of .I nroff statements which will format .I ptx output reasonably; the style is similar to the index for this manual. The spacings may need adjustment for different output devices. .PP .RS .nf \&.de xx \&.if !""\\\\$1" \\\\$1\\fI\\a\\fR\\\\$2\\t\\\\$3\\fI\\a\\fR\\t\\\\$5 \&.if !""\\\\$4" \\t\\\\$2\\t\\\\$3\\fI\\a\\fR\\\\$4\\t\\\\$5 \&.if ""\\\\$1\\\\$4" \\t\\\\$2\\t\\\\$3\\fI\\a\\fR\\t\\\\$5 \&.. \&.nf \&.ta 3.7iR 3.95iL 7.65iR 7.8iR .RE -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry