Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2011 22:54:16 -0600
From:      "David J. Weller-Fahy" <dave-lists-freebsd-questions@weller-fahy.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to adjust man page line length
Message-ID:  <20110120045416.GM90952@weller-fahy.com>
In-Reply-To: <20110118203958.033c4ead.freebsd@edvax.de>
References:  <20110118034037.GF90952@weller-fahy.com> <8162039A-6C07-4C88-928C-AAB4DD0FFCFE@hiwaay.net> <20110118203958.033c4ead.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
* Polytropon <freebsd@edvax.de> [2011-01-18 13:44 -0500]:
> man2pdf.sh:
> 
> 	#!/bin/sh
> 	[ "$1" != "" ] && zcat `man -w $1` | \
> 	groff -Tps -dpaper=a4 -P-pa4 -mandoc | ps2pdf - $1.pdf
> 
> This would cause groff to format for A4 paper width.  It's fully
> possible that a similar approach can be used for requesting a specific
> terminal width given in characters, rather than inches or centimeters
> (from a predefined value).

I forgot to mention in the [SOLVED] email - thank you for mentioning the
groff command-line, as it helped in both the initial and final
solutions.

Regards,
-- 
dave [ please don't CC me ]

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iEYEARECAAYFAk03v/gACgkQzahokXOb2UxFyACgzRvA6Z6Ebu/ayCVXFMeHp56I
LXcAn1lATR7oFsOEZei6cQHSJJHMFOGS
=+QiE
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110120045416.GM90952>