Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEjF3-0003ai-0X for pgsql-docs@arkaria.postgresql.org; Sun, 19 Jun 2016 20:22:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bEjF2-0001b1-Hc for pgsql-docs@arkaria.postgresql.org; Sun, 19 Jun 2016 20:22:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bEjF1-0001Yx-Nz for pgsql-docs@postgresql.org; Sun, 19 Jun 2016 20:22:47 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84_2) (envelope-from ) id 1bEjEy-00014Q-In for pgsql-docs@postgresql.org; Sun, 19 Jun 2016 20:22:46 +0000 Received: from [192.168.178.26] ([84.165.192.14]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MbgsX-1awENw1vQT-00J3MF for ; Sun, 19 Jun 2016 22:22:41 +0200 Subject: Re: Docbook 5.x To: pgsql-docs@postgresql.org References: <57179283.6080704@purtz.de> <20160503193441.GA61759@alvherre.pgsql> <572A0AD2.2070909@purtz.de> <572A1089.7030004@gmail.com> <4f55ecfb-3aaf-4f1d-7364-05f9153c7526@2ndquadrant.com> From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= Message-ID: <5766FF20.4020005@purtz.de> Date: Sun, 19 Jun 2016 22:22:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <4f55ecfb-3aaf-4f1d-7364-05f9153c7526@2ndquadrant.com> Content-Type: multipart/alternative; boundary="------------030008060709020803010807"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 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org This is a multi-part message in MIME format. --------------030008060709020803010807 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 05.05.2016 03:09, Peter Eisentraut wrote: > I think the process should be something like this: > > - Apply your XSLT performance patch. The patch should be submitted to > the next commit fest. > > - Wait a while to make sure everyone is happy with the performance. > Keep tweaking if necessary. > > - Port all DSSSL customizations to XSLT. Manually evaluate output for > quality. > > - Switch to XSLT build for official HTML documentation. [milestone 1] > > - Convert sources to XML. (There could be substeps here.) [milestone 2] > > - Then consider upgrading to DocBook 5. [milestone 3] Alexander and I continue to work on this path. In the meanwhile we have reached a state where xml files are well formed and valid against docbook 4 dtd - each single file as well as the big postgres_all.xml file. Thanks to Alexander's performance patch all XSLT processes run very fast (the slowest is fo+pdf with 6:30 min). On this basis I actually work on the HTML generation. But in opposite to the previous steps (where we create identical copies of the sgml files) the new css file is very different from the old one. This results from the following: * The XSLT process generates other HTML elements and other classes in comparison to the dsssl process. * XML files are case sensitive. All object names (id, ulink, linkend, zone, ...) are now lower case. * Sometimes the order of elements changed. * As the previous css file was constructed (some years ago) from three different css files, he contains redundant and sometimes contradictory information. I did a complete review. To get a feedback from the community I have published the resulting postgres_all.html and its pgdoc_online.css file. Please refer to https://github.com/JuergenPurtz/pgdoc_db5/blob/master/postgresql-9.5.3/doc/src/db4_xml/postgres_all.html respective pgdoc_online.css to get the files. Please compare the html file with pages you are familiar with. And remember: the look-and-feel is similar, but far from identical. Jürgen Purtz --------------030008060709020803010807 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 05.05.2016 03:09, Peter Eisentraut wrote:
I think the process should be something like this:

- Apply your XSLT performance patch.  The patch should be submitted to the next commit fest.

- Wait a while to make sure everyone is happy with the performance. Keep tweaking if necessary.

- Port all DSSSL customizations to XSLT.  Manually evaluate output for quality.

- Switch to XSLT build for official HTML documentation. [milestone 1]

- Convert sources to XML. (There could be substeps here.) [milestone 2]

- Then consider upgrading to DocBook 5. [milestone 3]

Alexander and I continue to work on this path. In the meanwhile we have reached a state where xml files are well formed and valid against docbook 4 dtd - each single file as well as the big postgres_all.xml file. Thanks to Alexander's performance patch all XSLT processes run very fast (the slowest is fo+pdf with 6:30 min).

On this basis I actually work on the HTML generation. But in opposite to the previous steps (where we create identical copies of the sgml files) the new css file is very different from the old one. This results from the following:
  • The XSLT process generates other HTML elements and other classes in comparison to the dsssl process.
  • XML files are case sensitive. All object names (id, ulink, linkend, zone, ...) are now lower case.
  • Sometimes the order of elements changed.
  • As the previous css file was constructed (some years ago) from three different css files, he contains redundant and sometimes contradictory information. I did a complete review.
To get a feedback from the community I have published the resulting postgres_all.html and its pgdoc_online.css file. Please refer to https://github.com/JuergenPurtz/pgdoc_db5/blob/master/postgresql-9.5.3/doc/src/db4_xml/postgres_all.html respective pgdoc_online.css to get the files. Please compare the html file with pages you are familiar with. And remember: the look-and-feel is similar, but far from identical.

Jürgen Purtz

--------------030008060709020803010807--