Re: Switching to XML

Guillaume Lelarge <guillaume@lelarge.info>

From: Guillaume Lelarge <guillaume@lelarge.info>
To: Guillaume Lelarge <guillaume@lelarge.info>, Peter Eisentraut <peter_e@gmx.net>, "Joshua D. Drake" <jd@commandprompt.com>, David Fetter <david@fetter.org>, Josh Berkus <josh@agliodbs.com>, pgsql-docs@postgresql.org, David Blewett <david@dawninglight.net>
Date: 2006-12-22T17:09:20Z
Lists: pgsql-docs
Alvaro Herrera a ecrit le 22/12/2006 17:54:
> Guillaume Lelarge wrote:
> 
>> The last PDF available on the website has some bad issues. Just take a
>> look at table 8-13 (page 805), table 8-18 (page 113). One more time, I
>> don't say you can't fix this in SGML (and I think we already talk of
>> this some time ago). But *I* won't do it. And I think some people are
>> willing to work on this but they also want to have XML documentation.
> 
> I checked the PDF available on
> http://www.postgresql.org/files/documentation/pdf/8.2/postgresql-8.2-A4.pdf
> and it does have the issues Guillaume mentions: table 8-13 (on page 105)
> is certainly mangled (columns too wide), and table 8-18 is mangled too
> (a row's content is too wide for the columns, so the text on one column
> overlaps the text on the next).  This problem can also be seen on other
> tables, for example 9-5 and 9-6.
> 

There's a way to fix this : adding colspec's tags for each column which 
need a specific col width.

For example :
   <colspec colnum="1" colwidth="1.3*"/>

> I printed one page and it looks just as silly, so it's not just a
> display problem.
> 
> Also, the US version is lacking the index -- I suppose it was built
> without the complete index.sgml file.
> 

Regards.


-- 
Guillaume.