Skip site navigation (1) Skip section navigation (2)

Re: code example wrapping

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Erik Rijkers <er(at)xs4all(dot)nl>,Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-docs(at)postgresql(dot)org
Subject: Re: code example wrapping
Date: 2010-04-14 22:28:06
Message-ID: 20100414222806.GD3678@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-docs
Bruce Momjian wrote:
> Tom Lane wrote:
> > Bruce Momjian <bruce(at)momjian(dot)us> 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

In response to

Responses

pgsql-docs by date

Next:From: Alvaro HerreraDate: 2010-04-14 22:30:09
Subject: Re: code example wrapping
Previous:From: Bruce MomjianDate: 2010-04-14 14:38:56
Subject: Re: code example wrapping

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group