| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Thu, 2 Mar 2006 12:44:22 -0800 |
| From: | George <d1945 AT sbcglobal DOT net> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Printing man pages |
| Message-ID: | <20060302204422.GA1716@home> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <20060302065638 DOT GA1528 AT home> <4407422C DOT 3030202 AT ateb DOT com> <4407434D DOT 7030601 AT ateb DOT com> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <4407434D.7030601@ateb.com> |
| User-Agent: | Mutt/1.4.2.1i |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Thu, Mar 02, 2006 at 02:11:09PM -0500, Reid Thompson wrote:
> Reid Thompson wrote:
> >George wrote:
> >>[...]
> >man groff | enscript -p - | ps2pdf - groff.pdf
I am thoroughly impressed. For man pages, I think this is optimal as
the default enscript font setting is fixed pitch, and enscript provides
a huge number of options to further customise things. Come to think of
it, it's probably better all round, and definitely easier than LaTeX for
those one-off jobs.
Odd, though, that the original A4 setting in
/usr/share/groff/1.18.1/font/devps/DESC seems not to affect the output.
Maybe I should read up on it in my newly-generated PDF?
> wrapped in a script ...
> ----man2pdf----
> #!/bin/bash
>
> man $1 | enscript -p - | ps2pdf - ${1}.pdf
>
> echo "Created ${1}.pdf"
What, no error checking? ;-)
Thanks for the help.
--
George
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |