Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 9C0EC6329DA for ; Wed, 14 Apr 2010 19:28:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 82943-05 for ; Wed, 14 Apr 2010 22:28:05 +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 CE413632697 for ; Wed, 14 Apr 2010 19:28:11 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 813DF348037; Wed, 14 Apr 2010 15:28:09 -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 1UhMedqhQaba; Wed, 14 Apr 2010 15:28:09 -0700 (PDT) Received: from perhan.alvh.no-ip.org (200-126-117-251.bk8-dsl.surnet.cl [200.126.117.251]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 2198A348035; Wed, 14 Apr 2010 15:28:09 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id BBC646E4A9; Wed, 14 Apr 2010 18:28:06 -0400 (CLT) Date: Wed, 14 Apr 2010 18:28:06 -0400 From: Alvaro Herrera To: Bruce Momjian Cc: Tom Lane , Erik Rijkers , Peter Eisentraut , pgsql-docs@postgresql.org Subject: Re: code example wrapping Message-ID: <20100414222806.GD3678@alvh.no-ip.org> References: <15913.1271217521@sss.pgh.pa.us> <201004141438.o3EEcux15372@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201004141438.o3EEcux15372@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.979 tagged_above=-10 required=5 tests=AWL=-0.079, BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201004/55 X-Sequence-Number: 5454 Bruce Momjian wrote: > Tom Lane wrote: > > Bruce Momjian writes: > > > Also, is there any way to get a report of the lines that are too long? > > > > grep "Overfull hbox" from the tex log ... > > Can someone who can build the PDF docs post the output showing these > lines? I can't build the PDF docs here. There are 1853 such reports in the output I have for a US run, but they reference a line number in the TeX source not SGML, so it's not easy to see what they are referring to. For example Overfull \hbox (141.59937pt too wide) in paragraph at lines 65564--65564 Overfull \hbox (28.1995pt too wide) in paragraph at lines 65612--65612 Overfull \hbox (11.99951pt too wide) in paragraph at lines 65702--65702 Overfull \hbox (17.3995pt too wide) in paragraph at lines 68738--68738 Overfull \hbox (28.1995pt too wide) in paragraph at lines 68739--68739 I think we could script extracting the TeX source that it refers to with some scripting. For now, the reports that are 4 digits or more points overfull are in paragraph at lines 268934 and following, which is just after this text: view is restricted to show only rows about tables that the current user can read.) For example, we might do: This is a very wide table in perform.sgml, lines 556ff. Maybe it can be displayed in \x for better formatting ... but then, the widest column is already too wide so maybe there's no point. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support