Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 0C29C6336F0 for ; Tue, 13 Apr 2010 22:11:32 -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 07019-07 for ; Wed, 14 Apr 2010 01:11:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id 71C3C633334 for ; Tue, 13 Apr 2010 22:11:21 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o3E1BHe08296; Tue, 13 Apr 2010 21:11:17 -0400 (EDT) From: Bruce Momjian Message-Id: <201004140111.o3E1BHe08296@momjian.us> Subject: Re: code example wrapping In-Reply-To: <7d3961498bcf881bef7c086f2117890b.squirrel@webmail.xs4all.nl> To: Erik Rijkers Date: Tue, 13 Apr 2010 21:11:17 -0400 (EDT) CC: Peter Eisentraut , Tom Lane , pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/50 X-Sequence-Number: 5449 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. Also, I am looking at the PG9.0 Alpha 5 US-PDFs and see that the archive_command example on page 511 is also too long and extends off of the page: http://www.postgresql.org/files/documentation/pdf/9.0/postgresql-9.0alpha4-US.pdf and I bet my new test -f example is also going to go off the end once a PDF is built now that we are using the directory name twice on the same line. I have fiddled with that example for so long I am out of ideas. :-( Also, is there any way to get a report of the lines that are too long? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com