Jeff King [off-list ref] writes:
Another way of doing this would be to format the individual troff
manpages into dvi or postscript, convert that into pdf, and then
concatenate that. Something like:
for i in *.[157]; do
man -Tdvi -l "$i" >"$i.dvi"
dvipdfm "$i"
done
pdftk *.[157].pdf cat output full.pdf
works for me, though obviously that does not handle some of the non-man
items you included. No idea on how the output compares to yours, but
it's something you may want to look at.
Yes, that would be far more straight-forward and less error prone
way to do this.