Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 0718E6331DC for ; Tue, 27 Apr 2010 11:34:54 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 61163-05 for ; Tue, 27 Apr 2010 14:34:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 6A6626322EC for ; Tue, 27 Apr 2010 11:34:43 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 9342F348038; Tue, 27 Apr 2010 07:34:41 -0700 (PDT) Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rBWo0rM4RM9c; Tue, 27 Apr 2010 07:34:41 -0700 (PDT) Received: from perhan.alvh.no-ip.org (unknown [190.95.9.187]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 36F8A348035; Tue, 27 Apr 2010 07:34:41 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id F2A5E6E30D; Tue, 27 Apr 2010 10:34:38 -0400 (CLT) Date: Tue, 27 Apr 2010 10:34:38 -0400 From: Alvaro Herrera To: Erik Rijkers Cc: Peter Eisentraut , Tom Lane , pgsql-docs@postgresql.org Subject: Re: code example wrapping Message-ID: <20100427143438.GB5237@alvh.no-ip.org> References: <2dadc3297b424c7540eb0fa70d418156.squirrel@webmail.xs4all.nl> <23091.1270484314@sss.pgh.pa.us> <1270488571.18421.6.camel@vanquo.pezone.net> <7d3961498bcf881bef7c086f2117890b.squirrel@webmail.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7d3961498bcf881bef7c086f2117890b.squirrel@webmail.xs4all.nl> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201004/86 X-Sequence-Number: 5485 Erik Rijkers wrote: > On Mon, April 5, 2010 19:29, Peter Eisentraut wrote: > > On mån, 2010-04-05 at 18:30 +0200, Erik Rijkers wrote: > >> On Mon, April 5, 2010 18:18, Tom Lane wrote: > >> > "Erik Rijkers" writes: > >> > > >> >> I would like to reformat (only) those cases so that the text is completely readable on the > > Here is plpgsql.sgml with reformatted code-examples for pdf readability > (mainly split long lines; also fixed an concat error in one example). > > I've checked A4+US pdf's and html with these changes - they look OK, I think. Just applied it. I checked the HTML output and it looks good. I couldn't generate the PDF now; it died like this: $ make postgres-A4.pdf openjade -D . -D /pgsql/source/900orig/doc/src/sgml -c /usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -d /pgsql/source/900orig/doc/src/sgml/stylesheet.dsl -t tex -V tex-backend -i output-print -i include-index -V texpdf-output -V '%paper-type%'=A4 -o postgres-A4.tex-pdf /pgsql/source/900orig/doc/src/sgml/postgres.sgml pdfjadetex postgres-A4.tex-pdf This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) restricted \write18 enabled. ---! /var/lib/texmf/web2c/pdftex/pdfjadetex.fmt doesn't match pdftex.pool (Fatal format file error; I'm stymied) make: *** [postgres-A4.pdf] Error 1 rm postgres-A4.tex-pdf I don't know what's going on but I bet it has to do with something I upgraded on this machine. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support