Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFDEA-000674-GX for pgsql-docs@arkaria.postgresql.org; Thu, 16 Nov 2017 06:00:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eFDE8-0001gC-R2 for pgsql-docs@arkaria.postgresql.org; Thu, 16 Nov 2017 06:00:40 +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 1eFDE6-0001fQ-Q5 for pgsql-docs@postgresql.org; Thu, 16 Nov 2017 06:00:39 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eFDE2-0005A1-V0 for pgsql-docs@postgresql.org; Thu, 16 Nov 2017 06:00:37 +0000 Received: by mail-lf0-x243.google.com with SMTP id k66so16752419lfg.3 for ; Wed, 15 Nov 2017 22:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=dJOdG6RXl8CmwfcEGIn5sxFa765Jm3RJuLRnAXZMLlU=; b=W4ds0WUTiSQcsmY4Z5DtIbUrUfDBRH+5YiePwhEv/EjFYKn6Hk3GUZbVouR9YLayhz PoOJKdvYfeKgK54sdjCeIHeT+VuDVsB8lTWwfyuq9/SuwXQFq/G2SP+3LTWLVL8htNUb ubPu8mGQRB3Oev+pcyWDkfjh6mB9lEPAb7eeKOfaXuUrEtdryrZbuVO7w221qugdZ1Vt 40tHcrhazJ6+wZ9lfCFzC1Ku5SvGYRXaxsLHwVRpKt9lDe3SoAlTblq8yk/uftl50YKB YSc7VD6Hf3qhgY7PuwAoZH3oX3zkqtM1AvFTLcLph+EI6lXIbxbRMVSXe1fAct4lsxV0 3bQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=dJOdG6RXl8CmwfcEGIn5sxFa765Jm3RJuLRnAXZMLlU=; b=sAZN7kNynOwM09Aqn3MTFCFhpYeLhquU0QZTaYUYzvn4kt+HeoRgFdISsyxSjcqyy3 LCORZVmFuUpF+4uALSVo1DeRzTYApkXITjOoabOpmO6nO7gkPm7w45cRpjTv2NJs6Cnc JJZIkmSJ0R9fsK8iuATqRPmxwKmZC4/dfGPI1SAqCo2ZngMUFANqhahkPEmJsh6qMF70 wIxrTapITXjw4F7jrHopYk73yt9kD6KgTX721G+wxwD7GV0pH5NVgMaL0WAFlXkjZpXN blLFC5t37pc+Ua4w9Y7JBmyfwdThcFLcO3RfLQGOXvwMJ34i0R9UClhtAvn7ZO6bZztk ivPA== X-Gm-Message-State: AJaThX5RFOX0eGopT4qWYUKGuJJEI4moyx1aOL+FqYmS+r1nfC4iWPkv N+Owq43IANXJIBKujjxGKZxx8g== X-Google-Smtp-Source: AGs4zMaEuW73p5cElsO0E2xkmF3TJpsYzKENfYAXW0iHbdu3IU5X2UzieuuIvieJc3aJ495bm2DGyw== X-Received: by 10.25.56.68 with SMTP id d4mr195721lfj.186.1510812031636; Wed, 15 Nov 2017 22:00:31 -0800 (PST) Received: from [1.0.0.7] ([178.155.4.251]) by smtp.gmail.com with ESMTPSA id d13sm57259lfl.24.2017.11.15.22.00.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Nov 2017 22:00:30 -0800 (PST) Subject: Re: Docbook 5.x To: Peter Eisentraut , =?UTF-8?Q?J=c3=bcrgen_Purtz?= Cc: pgsql-docs@postgresql.org References: <57179283.6080704@purtz.de> <4adecfc6-2f2e-2ff2-bfa3-58b7d397227b@gmail.com> <8f227b2a-5093-8d99-85da-ea00e18343f6@gmail.com> <449e34c4-9cc8-d17d-5ebe-be92b4c0a87a@gmail.com> <09b13d85-e259-2464-723a-467210264afe@2ndquadrant.com> <9e8cafe4-7cfd-59be-6856-172c15dc758f@2ndquadrant.com> <11c0be48-6125-bbe1-1d02-6d61e889bd5e@gmail.com> <2162400e-e279-94fc-c47f-bfab18ceb700@gmail.com> <07342223-4eec-6523-2de2-11587f3f0920@2ndquadrant.com> <18ed8940-ae84-09c9-1236-d8a9648b2417@gmail.com> <047254d2-d46c-94af-1933-4551633a909b@2ndquadrant.com> From: Alexander Lakhin Message-ID: <4317d27a-9f9c-dfeb-2758-446243c66ddf@gmail.com> Date: Thu, 16 Nov 2017 09:00:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <047254d2-d46c-94af-1933-4551633a909b@2ndquadrant.com> Content-Type: multipart/alternative; boundary="------------C6CA39A098F977A29BCE8698" Content-Language: en-US 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. --------------C6CA39A098F977A29BCE8698 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello Peter, 16.11.2017 00:06, Peter Eisentraut wrote: > Here is the final patch set for the conversion. Great! I have some questions. 1. Can you share the exact scripts you use to generate 0002? (We transform the documentation to xml since 9.6 on-fly so it would be nice to adjust our scripts for previous versions too.) 2. Will you rename *.sgml to *.xml and move src/sgml to src/xml? 3. And I still think that hard-coding references and replacements in the standalone-profile is not good. Are you going to apply less hackish approach? (See https://www.postgresql.org/message-id/b4fd6932-8d44-3210-48ab-bbc393bf9a23%40gmail.com , patches/xml/installation.patch and patches/xml/installation-single.xsl) 4. BTW, when making postgres-A4.pdf, I get [WARN] FOUserAgent - Destination: Unresolved ID reference "ecpg-type-timestamp-date" found. It can be fixed by moving the id from the title tag to sect4: -    -     timestamp, date +    +     timestamp, date I wonder, what were the reasons to set id for the title tag? Best regards, ------ Alexander Lakhin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company --------------C6CA39A098F977A29BCE8698 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
Hello Peter,

16.11.2017 00:06, Peter Eisentraut wrote:
Here is the final patch set for the conversion.
Great!

I have some questions.
1. Can you share the exact scripts you use to generate 0002?
(We transform the documentation to xml since 9.6 on-fly so it would be nice to adjust our scripts for previous versions too.)
2. Will you rename *.sgml to *.xml and move src/sgml to src/xml?
3. And I still think that hard-coding references and replacements in the standalone-profile is not good. Are you going to apply less hackish approach?
(See https://www.postgresql.org/message-id/b4fd6932-8d44-3210-48ab-bbc393bf9a23%40gmail.com , patches/xml/installation.patch and patches/xml/installation-single.xsl)
4. BTW, when making postgres-A4.pdf, I get
[WARN] FOUserAgent - Destination: Unresolved ID reference "ecpg-type-timestamp-date" found.
It can be fixed by moving the id from the title tag to sect4:
-    <sect4>
-     <title id="ecpg-type-timestamp-date">timestamp, date</title>
+    <sect4 id="ecpg-type-timestamp-date">
+     <title>timestamp, date</title>
I wonder, what were the reasons to set id for the title tag?

Best regards,
------
Alexander Lakhin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

--------------C6CA39A098F977A29BCE8698--