Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1od4lw-0008L3-8B for pgsql-docs@arkaria.postgresql.org; Tue, 27 Sep 2022 07:12:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1od4lu-0006ij-HL for pgsql-docs@arkaria.postgresql.org; Tue, 27 Sep 2022 07:12:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1od4lu-0006ia-9Z for pgsql-docs@lists.postgresql.org; Tue, 27 Sep 2022 07:12:50 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1od4ls-000099-63 for pgsql-docs@lists.postgresql.org; Tue, 27 Sep 2022 07:12:49 +0000 Received: from [192.168.178.34] ([77.182.96.82]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MTzrW-1olMD60Ozy-00R3Cg for ; Tue, 27 Sep 2022 09:12:46 +0200 Content-Type: multipart/alternative; boundary="------------8Vtf0dN1GN0Iox5LnBqUMcRy" Message-ID: <3d846208-ff49-5a23-1684-a2e00a14496b@purtz.de> Date: Tue, 27 Sep 2022 09:12:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: DocBook 5.2 Content-Language: en-US To: pgsql-docs@lists.postgresql.org References: <20220905111508.wzgmpbcarxizdnin@alvherre.pgsql> <3524032.1664228552@sss.pgh.pa.us> From: =?UTF-8?Q?J=c3=bcrgen_Purtz?= In-Reply-To: X-Provags-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ielvcCDW2lfS4tgvNCt/UZS KtkCBV/ List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------8Vtf0dN1GN0Iox5LnBqUMcRy Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit >> Yeah, I think we'd have to convert all the supported versions to >> make this palatable. If the conversion is sufficiently automated, >> that might not be a big lift. (If it's*not* automated, I think >> the change would never get off the ground even for HEAD, because >> the docs are too much of a moving target.) > +1 The process is totally automated. There are general steps which work for every DocBook 4.x book. And there are Postgres-specific steps (doRealModifictions.sh) which looks for individual patterns per file. This is the critical part. Currently it's tested only with HEAD. My expectation is, that it should work also for translations to other languages because the patterns contain only elements and attributes, no text. But if they run against older versions it's likely that we need some changes or additional patterns. I'm willing to work on this if a) there is a consensus in the community that the work should go on and b) someone helps me to resolve the reported unacceptable runtime problem during PDF generation. -- J. Purtz --------------8Vtf0dN1GN0Iox5LnBqUMcRy Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Yeah, I think we'd have to convert all the supported versions to
make this palatable.  If the conversion is sufficiently automated,
that might not be a big lift.  (If it's *not* automated, I think
the change would never get off the ground even for HEAD, because
the docs are too much of a moving target.)
+1

The process is totally automated. There are general steps which work for every DocBook 4.x book. And there are Postgres-specific steps (doRealModifictions.sh) which looks for individual patterns per file. This is the critical part. Currently it's tested only with HEAD. My expectation is, that it should work also for translations to other languages because the patterns contain only elements and attributes, no text. But if they run against older versions it's likely that we need some changes or additional patterns. I'm willing to work on this if a) there is a consensus in the community that the work should go on and b) someone helps me to resolve the reported unacceptable runtime problem during PDF generation.

--

J. Purtz

--------------8Vtf0dN1GN0Iox5LnBqUMcRy--