From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 01:51:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7102A1065699 for ; Thu, 23 Oct 2008 01:51:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 30ACD8FC1D for ; Thu, 23 Oct 2008 01:51:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-41-11.dynamic.qsc.de [92.195.41.11]) by mx01.qsc.de (Postfix) with ESMTP id A3AD251D34; Thu, 23 Oct 2008 03:51:04 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m9N1p3Ag005824; Thu, 23 Oct 2008 03:51:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 23 Oct 2008 03:51:02 +0200 From: Polytropon To: Warren Block Message-Id: <20081023035102.469988aa.freebsd@edvax.de> In-Reply-To: References: <200810222156.20959.gnemmi@gmail.com> <20081023023840.bdacc8b9.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gonzalo Nemmi , freebsd-questions@freebsd.org Subject: Re: man -t odd page size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 01:51:06 -0000 On Wed, 22 Oct 2008 19:19:16 -0600 (MDT), Warren Block 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, ...