Re: [Patch 0/5] Create single PDF for all HTML files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 7, 2012, 20:54 UTC
- Message-ID
- <7vipamoveo.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20121006193205.GD3644@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 13 quoted lines
> 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.