home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23732 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.0 KB  |  44 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!unislc!erc
  3. From: erc@unislc.uucp (Ed Carp)
  4. Subject: Re: Groff's PS output isn't fit for my dog.
  5. X-Newsreader: TIN [version 1.1 PL6]
  6. References: <9301110537.AA13756@deepthought.cs.utexas.edu>
  7. Message-ID: <1993Jan12.082051.17785@unislc.uucp>
  8. Organization: Unisys Corporation SLC
  9. Date: Tue, 12 Jan 1993 08:20:51 GMT
  10. Lines: 32
  11.  
  12. Dan Newcombe (STDN%MARIST.bitnet@YaleVM.YCC.Yale.Edu) wrote:
  13.  
  14. : This probably isn't the best place for this, but all there is under
  15. : gnu.groff is bug, and for all I know this may just be a me and
  16. : linux problem.  Anyway, I got some stuff from MIT
  17. : (export.lcs.mit.edu  /pub/R5untarred/doc/tutorial/HelloWorld) or
  18. : something like that.  Anyway, it is basically how to do the
  19. : Hello World under X.  I already had this in postscript format so I know
  20. : what it should look like, but when I ran it through gtbl and groff
  21. : I got postscript output, but instead of it being nicely formated, it
  22. : was all jumbled together, most of the text lumped into on huge paragraph.
  23. : Is this normal?  I used  gtbl xhw.0 | groff -Tps > xhw.ps  and then
  24. : looked at it using gs.  Same thing also happened when I output it as
  25. : type dvi.  Can some kind and generous soul please tell me what I am
  26. : doing wrong.  Thanks...
  27.  
  28. You probably forgot to give groff a -m[s,e,an,doc,whatever] flag.
  29.  
  30. : BTW, when I run it through xmkmf (there is an Imakefile) it wants
  31. : to use psroff with the option -ms.  Well, psroff didn't really work
  32. : that well for me, and -ms bombs under both, not being able to find
  33. : the macro s.  And this is the same Imake.tmpl and stuff that came
  34. : with X.  I didn't touch it...
  35.  
  36. You might not have the -ms macros, or your macros might be corrupted or bad.
  37. I got the -ms macros from groff-1.6, and they work for me.
  38. -- 
  39. Ed Carp            erc@apple.com, erc@saturn.upl.com    801/538-0177
  40. 1935 will go down in history.  For the first time, a civilized nation has
  41. full gun registration.  Our streets will be safer, our police more efficient,
  42. and the world will follow our lead into the future.  --Adolf Hitler
  43.