Re: code example wrapping - Mailing list pgsql-docs

From Alvaro Herrera
Subject Re: code example wrapping
Date
Msg-id 20100414222806.GD3678@alvh.no-ip.org
Whole thread Raw
In response to Re: code example wrapping  (Bruce Momjian <bruce@momjian.us>)
Responses Re: code example wrapping
Re: code example wrapping
List pgsql-docs
Bruce Momjian wrote:
> Tom Lane wrote:
> > Bruce Momjian <bruce@momjian.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

pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: code example wrapping
Next
From: Alvaro Herrera
Date:
Subject: Re: code example wrapping