Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 23A149F9CB8; Thu, 7 Dec 2006 07:29:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 07329-09; Thu, 7 Dec 2006 07:29:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with ESMTP id 654A29F938C; Thu, 7 Dec 2006 07:29:06 -0400 (AST) Received: by mail63.csoft.net (Postfix, from userid 1112) id 564AEF22C; Thu, 7 Dec 2006 06:29:05 -0500 (EST) Date: Thu, 7 Dec 2006 06:29:05 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: Devrim GUNDUZ cc: pgsql-docs@postgresql.org, pgsql-www@postgresql.org Subject: Re: 8.2.0 pdf In-Reply-To: <1165490325.3179.31.camel@laptop.gunduz.org> Message-ID: References: <1165225570.12091.1.camel@laptop.gunduz.org> <1165472163.3179.0.camel@laptop.gunduz.org> <4577F000.3000709@ejurka.com> <1165490325.3179.31.camel@laptop.gunduz.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archive-Number: 200612/46 X-Sequence-Number: 11160 On Thu, 7 Dec 2006, Devrim GUNDUZ wrote: > BTW, I first built A4 pdf by running "make postgres.pdf" . Then per a > suggestion at #postgresql, I converted it to ps by ps2pdf. Then, I ran: > > ps2pdf -paper letter postgres.ps > > to convert it to US format. Is it the right way to do that? > No, converting to postscript loses all the PDF formatting goodness that makes it readable instead of just printable. I edited /usr/share/sgml/docbook/stylesheet/dsssl/modular/print/dbparam.dsl and changed (define %paper-type% "A4") to (define %paper-type% "USletter") and rerunning the entire multi-day generation. Surely this isn't ideal and the correct way to do this is to set it in a stylesheet or pass it in some other way, but this worked for me. Kris Jurka