Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9YPr-0008B2-Ub for pgsql-docs@arkaria.postgresql.org; Wed, 23 Nov 2016 14:20:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c9YPr-0003FT-EG for pgsql-docs@arkaria.postgresql.org; Wed, 23 Nov 2016 14:20:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c9YPT-0002r0-MU for pgsql-docs@postgresql.org; Wed, 23 Nov 2016 14:20:27 +0000 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1c9YPP-0000Uj-Ti for pgsql-docs@postgresql.org; Wed, 23 Nov 2016 14:20:26 +0000 Received: by mail-lf0-x22f.google.com with SMTP id b14so5005076lfg.2 for ; Wed, 23 Nov 2016 06:20:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=l4zGrAHti2olM+RWBRpG1Nv5vgiYwWMLfob+vkrMbK0=; b=b3NPwSVR+BflA2QBahc5j75CrjFpCVX0LqG25PKrVZMdOWjiYyWIjwds6ppf+gQVVT vGjIDxtNc7Ga3tEV04Gie8JbQWokAC90PCNUNxMzDn0Nw9l2hpItNshWoVWnGEL+b4eq 63V0loY+D1aMJWZs5u7awQleJmkpfYTx16PsO2Tm+XvHCtFi5O0A0xADp5f5HwU5nNU2 YkGeewMhVUndjlxI3gNMzytbFi1eK/RoRvJo9NLPQa8uYZtRd8IGEYHSVCj/773F3mEg vmtVUPQYKKcOKHX/M8utaD0b3NloMkdAiMsJEFxy+CehE6caNppWZG7RWBLAG0ApixRh EG5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=l4zGrAHti2olM+RWBRpG1Nv5vgiYwWMLfob+vkrMbK0=; b=BOuFhWh5ZSsh1aZfy27Xh2PdwFYrWiu52UrcKphjpL7orpsImJlzYzJU70hGbByq7u kMEs/vjaSrRNJzsRQbZxnANoX32JeLfqivgGBL9gs1OyIaummznXL+ufrnK2VoaYESzO qJdnnti2Y6xEEb032I/qxvANCHPWHJhimiewy+jtzdJ98p+QzufeQQ/XmVYNnJOYX81r k2Eokp9dgbn1CzVYv9uZt+8Pd1EP4lhmOhCbGw6EzXmUUf9K9ozQPSoC9euKrctHngG3 QuEihJVhlHIWm9C3r8vbkhtZTklUM4fQA5dJ4efCZL8CNdVsZ3VHOEU3M+tdJcWzVvcd hwDg== X-Gm-Message-State: AKaTC00lc/WLwSqNZ5/gOE5o7xOu1IdoNz+fxNAqgeX37Zbm1WSl3Lc5VCvfDK5O1IiGEg== X-Received: by 10.25.104.2 with SMTP id d2mr912131lfc.95.1479910822810; Wed, 23 Nov 2016 06:20:22 -0800 (PST) Received: from [1.0.0.7] ([109.196.196.48]) by smtp.gmail.com with ESMTPSA id g38sm7273861lfi.40.2016.11.23.06.20.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Nov 2016 06:20:22 -0800 (PST) Subject: Re: [HACKERS] switching documentation build to XSLT To: Tom Lane , Peter Eisentraut References: <2cdfe551-eb7b-b319-c96d-0d53cc0c2db8@2ndquadrant.com> <1aff5a5f-64aa-91c4-41c4-7952afe8a792@2ndquadrant.com> <31278.1479587695@sss.pgh.pa.us> <11056.1479840451@sss.pgh.pa.us> Cc: pgsql-docs@postgresql.org From: Alexander Law Message-ID: <1b0574bd-2cfa-e950-f881-914e68b7c9ec@gmail.com> Date: Wed, 23 Nov 2016 17:20:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <11056.1479840451@sss.pgh.pa.us> Content-Type: multipart/mixed; boundary="------------716E03D2E902E570EFC66C21" X-Pg-Spam-Score: -2.7 (--) 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. --------------716E03D2E902E570EFC66C21 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello, The attached patch fixes this. Best regards, Alexander 22.11.2016 21:47, Tom Lane пишет: > I wrote: >> I notice that whereas used to generate text like >> Section 4.1.2.7 >> now you get >> Section 4.1.2.7, “Constants of Other Types” > I also find that for some reason, the results are not formatted > consistently. Section cross-references are printed with quotes > as shown above, but chapter cross-references have no quotes and > instead the chapter title is italicized. See for example the > various cross-references for GiST about halfway down this page: > > https://www.postgresql.org/docs/devel/static/indexes-types.html > > TBH though, the more examples of this I look at, the less convinced > I am that it's an improvement at all. We have an awful lot of > parenthetical cross-references like "(see Section 1.2.3)", which > previously were easy to ignore while reading, but with long section > titles attached to them they quite interrupt the sentence flow. > > I can kind of see the point when printing on dead trees, but in > any format where the reference is a hyperlink, I think I'd vote > for dropping the title and going back to the old output. > > regards, tom lane > > --------------716E03D2E902E570EFC66C21 Content-Type: text/x-patch; name="xref-without-number-and-title.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xref-without-number-and-title.patch" diff --git a/doc/src/sgml/stylesheet-common.xsl b/doc/src/sgml/stylesheet-common.xsl index c23d38f..9393848 100644 --- a/doc/src/sgml/stylesheet-common.xsl +++ b/doc/src/sgml/stylesheet-common.xsl @@ -37,6 +37,7 @@ 1 + --------------716E03D2E902E570EFC66C21 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --------------716E03D2E902E570EFC66C21--