home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0063 < prev    next >
Encoding:
Text File  |  1982-01-19  |  976 b   |  32 lines

  1. Autzoo.1287
  2. net.bugs.v7
  3. utcsrgv!utzoo!henry
  4. Tue Jan 19 01:35:19 1982
  5. ptx(1) obscurity
  6. The manual page for ptx gives a fairly good description of the program,
  7. but it is not obvious to non-troff-hackers how to get decent formatting
  8. of the output (i.e. what ".xx" macro to supply).  After digging through
  9. the stuff used to prepare the manual and doing a bit of experimenting,
  10. I added the following to our ptx(1) manual page (sorry about all the
  11. backslashes, that's troff for you):
  12.  
  13. .SH EXAMPLE
  14. The following is a reasonably-minimal
  15. set of
  16. .I nroff
  17. statements which will format
  18. .I ptx
  19. output reasonably;  the style is similar to the index for this manual.
  20. The spacings may need adjustment for different output devices.
  21. .PP
  22. .RS
  23. .nf
  24. \&.de xx
  25. \&.if !""\\\\$1" \\\\$1\\fI\\a\\fR\\\\$2\\t\\\\$3\\fI\\a\\fR\\t\\\\$5
  26. \&.if !""\\\\$4" \\t\\\\$2\\t\\\\$3\\fI\\a\\fR\\\\$4\\t\\\\$5
  27. \&.if ""\\\\$1\\\\$4" \\t\\\\$2\\t\\\\$3\\fI\\a\\fR\\t\\\\$5
  28. \&..
  29. \&.nf
  30. \&.ta 3.7iR 3.95iL 7.65iR 7.8iR
  31. .RE
  32.