X-Spam-Check-By: sourceware.org Date: Wed, 1 Mar 2006 22:56:38 -0800 From: George To: cygwin AT cygwin DOT com Subject: Printing man pages Message-ID: <20060302065638.GA1528@home> Mail-Followup-To: cygwin AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Generating a PDF from the grep man page, for example, using: man -t `man -w grep` | ps2pdf - grep.pdf which, by default, is actually /usr/bin/groff -Tps -mandoc `man -w grep` | ps2pdf - grep.pdf results in a fairly unattractive PDF file. The man page title is dropped from the output, and the top margin is borked. On the other hand, using /usr/bin/groff -Thtml -mandoc `man -w grep` > grep.html yields something more satisfactory, but not in a format for printing. I'm finding that reading through the groff man page(s) is like [obligatory hippo joke], so I'm hoping I'm missing something obvious. Thanks. -- 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/