man -t odd page size

Polytropon freebsd at edvax.de
Wed Oct 22 18:51:06 PDT 2008


On Wed, 22 Oct 2008 19:19:16 -0600 (MDT), Warren Block <wblock at wonkity.com> wrote:
> But groff can do A4.  Just as a first pass:
> 
> zcat `man -w ls` | groff -Tps -dpaper=a4 -P-pa4 -mandoc | ps2pdf - tmp.pdf
> 
> It produces the right media size in the PS file, but I can't really test 
> it because I don't have any A4 paper.

I checked it - excellent. The formatting of the structural elements
works fine, the result is printable.

I've just finished ~/bin/man2pdf. :-)



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list