In my opinion I find the PostScript/PDF output from groff to be better 
than mandoc's, sorry Ingo :(. The font size and line spacing makes a 
better print, which makes sense considering that groff is a typesetting 
suite. The catch is that groff doesn't detect if eqn(1) or tbl(1) needs 
to be run for the man page, while mandoc does. You would need to use 
grog(1) for that.

Here are some example pdf's for the 6.4 version of man(1):

https://www.sgregoratto.me/paste/man-groff.1.pdf
  $ groff -mandoc -T pdf /usr/share/man/man1/man.1
  alternatively...
  $ grog -T pdf --run /usr/share/man/man1/man.1
https://www.sgregoratto.me/paste/man-mandoc.1.pdf
  $ mandoc -T pdf /usr/share/man/man1/man.1
  alternatively...
  $ man -T pdf 1 man

You should replace 'pdf' with 'ps' if you are using a PostScript 
printer. It's up to you to decide which one looks better.

-- 
Stephen Gregoratto

Reply via email to