Hacker News new | ask | show | jobs
by 2b3a51 1123 days ago
Try

    groff -ms -Tpdf example.groff > example.pdf
The difference is the use of the ms macro package. That package generates page breaks and makes assumptions about the page size. -Tpdf will typeset your text using proportional fonts, justification and so on.

The previous poster's command generated nicely justified text in the terminal (or redirected to a file).

1 comments

Ah, this explains it. I had a feeling I was missing something in my less informative response.