home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / software / 3222 < prev    next >
Encoding:
Text File  |  1992-12-29  |  2.1 KB  |  60 lines

  1. Newsgroups: comp.sys.next.software
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!chx400!josef!kluge
  3. From: kluge@avalon.physik.unizh.ch (kluge daniel)
  4. Subject: tbl, troff, ptroff & Co.
  5. Message-ID: <1992Dec29.214748.5774@ifi.unizh.ch>
  6. Sender: news@ifi.unizh.ch (USENET News Admin)
  7. Nntp-Posting-Host: avalon
  8. Organization: University of Zurich, Department of Computer Science
  9. X-Newsreader: Tin 1.1 PL4
  10. Date: Tue, 29 Dec 1992 21:47:48 GMT
  11. Lines: 47
  12.  
  13. I just played around with ptroff, for having a Man Page, which is
  14. suitable for printing.
  15. My First problem was the following:
  16. When I run a man-page through tbl, it exited with 'bus error'.
  17. After playing a little bit with the File, I found the solution, the
  18. NeXT-tbl doesn't accept things like this:
  19. l l
  20. - -
  21. l l
  22. First_Title Second_Title
  23. fist second
  24.  
  25. although the following just produced some funny output, and an error:
  26. l l
  27. l l
  28. ( Input: line xx: Data ignored on table line 2
  29. ( First_Title Second_Title
  30. ( ___________ second
  31.  
  32. Ok, ok i know, if you Place an undersocre in the line preeceding 'first'
  33. you will get it, BUT I don't like it, to edit every 100k man-page that
  34. comes from the net, so I'd appreciate, if 'tbl' would work as intended.
  35.  
  36. After that, I moved some ManPages through ptroff, and tryed, to reformat
  37. them from Letter to A4, without success,
  38. Neither
  39.     ptroff -t -l 297mm
  40. nor
  41.     ptroff -t -s A4
  42. did something useable, both produced the same, it looked like an A4 page
  43. seen through a Frame of Letter-Size: the top of The Page had been cut,
  44. and the next page already showed up at the bottom.
  45. To make things worse, if you want to reformat it with 'psnup', it won't
  46. come out of 'psnup' as A4 as well, so, the Pages get gut on the end,
  47. because someone thinks, that the Page is some .5in shorter than it
  48. acutally is.
  49.  
  50. I'd appreciate any suggestions, comments to those problems (tbl & ptroff
  51. with non-Letter formating)
  52.  
  53. - daniel
  54. --
  55. Daniel G. Kluge @ Swiss Federal Institute of Technology Zuerich
  56. E-Mail              : kluge@avalon.physik.unizh.ch (NeXT-Mail welcome)
  57. study-related stuff : dankluge@iiic.ethz.ch
  58. DECnet              : EZINFO::CLUESCH
  59.