Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxEw0-0002Y2-Ua for pgsql-docs@arkaria.postgresql.org; Wed, 27 Sep 2017 16:11:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dxEvz-0004DE-7y for pgsql-docs@arkaria.postgresql.org; Wed, 27 Sep 2017 16:11:39 +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 1dxEvy-0004D1-Kj for pgsql-docs@postgresql.org; Wed, 27 Sep 2017 16:11:38 +0000 Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dxEvv-0006WI-08 for pgsql-docs@postgresql.org; Wed, 27 Sep 2017 16:11:37 +0000 Received: by mail-wr0-x22b.google.com with SMTP id 54so2775601wrz.10 for ; Wed, 27 Sep 2017 09:11:34 -0700 (PDT) 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-transfer-encoding:content-language; bh=2Hfyv6FD+/TDjF0ePhF5EeW74I/8e7KpQugs++2JpFI=; b=PDpakfmn8dOxLwNBAbxRp8Imge+4ruSYRInEy4JO3uvyf9gGxdBpXFGEtA4StQsl8r L/2Dnja3tBM+nUJAp7lwyUrX3VS5EtS9A3Ma97atuiF1/C+p6K2jTNF9zy4reAoqe5Xf yLqvvB3SOh2ygjMaDWmCij/SdD8VCId38WNJ2DUBLNAc5CN3m4aJU3lgkw5AklIc25lD HSHbffxSiQC8f5OCcUMBtiGXCGXPU4Fe4Aq3mWOKmCqd0KlDsk7NoRHm0O6VWIw/ckyp bt79FCJNvALF/LbYKVF1ITckA78Fe1VbA0hmD0qdLcAA8TBTSjtfmSpmDPcnlPOgqOS6 jxmQ== 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-transfer-encoding :content-language; bh=2Hfyv6FD+/TDjF0ePhF5EeW74I/8e7KpQugs++2JpFI=; b=mdbWC19dRHwIX2UvzB3NBb+V41PCu7gY0ynWIuxKeAW8mQ+vMrfwJyPq6sq5wiIbKU ekHDcB9TYZgc/amopZxc2rzyIKtHF9wX/wsL5Yt65RwS51VOiL9Bx7BXr72wlpUwnUqf +MFNDvs+E//ESOPfFSKJ1IV/t5Q4MpUimZlqNlIgf1MQ2hi0WqYIerMYU9Ne0v9z+lYh ZlYQVL3kdGrcPaHET23xH2DGVOKNcWywlUWjOFUvSeSBkUO56yrKkB0T9MUFi5XHIW7k MsX0qJPZwdBktvVWZpSSrmjbRaeQ7qaVIf43FF1O1HIDYUJZb3Pg/WGM+03XWZov8QYl wC6g== X-Gm-Message-State: AMCzsaURM9oUTbh4RC4e90A1fOxAa03Xwx22eBWFWHkc6x8CqEPrcpYO l2M8OmouDfufCvXjWPavmvHuHA== X-Google-Smtp-Source: AOwi7QBtRhPITF8bDzeeW9OZwz1MkKOyDwSMutK8vWoNWV/AURYvIUKWo+RvtB6+pSvo683EtRjJug== X-Received: by 10.25.27.71 with SMTP id b68mr809781lfb.125.1506528692525; Wed, 27 Sep 2017 09:11:32 -0700 (PDT) Received: from [1.0.0.7] ([178.155.4.51]) by smtp.gmail.com with ESMTPSA id o84sm1724143lff.48.2017.09.27.09.11.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Sep 2017 09:11:31 -0700 (PDT) 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> <5752E599.2090505@gmail.com> <576d0623-a89c-b3de-e321-dc48a579ff1a@2ndquadrant.com> <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> From: Alexander Lakhin Message-ID: <18ed8940-ae84-09c9-1236-d8a9648b2417@gmail.com> Date: Wed, 27 Sep 2017 19:11:29 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <07342223-4eec-6523-2de2-11587f3f0920@2ndquadrant.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 Hello, 27.09.2017 18:38, Peter Eisentraut wrote: > On 9/20/17 09:00, Alexander Lakhin wrote: >> I would like to place such alternate text in an attribute >> "standalonetext" or alike, but DocBook 4.x doesn't allow for extra >> attributes, so we need to choose from: >> http://tdg.docbook.org/tdg/4.5/ref-elements.html#common.attributes >> So I decided to make alternative use of xreflabel attribute. (I believe >> that we could find something more appropriate after migrating from >> Docbook 4.2 to 5.x).) > Yeah, but that's a bit of a hack isn't it? I also don't see anything in > DocBook 5 that indicates to me that we could get rid of that hack then. I found a more appropriate way for using an extra attribute: http://www.sagehill.net/docbookxsl/AddProfileAtt.htm I've tested it with "standalone" attribute and it works (for Docbook 4.2). May be it will decrease hackiness level of the solution? If it's not too late I could prepare a new patchset today. > In the interest of moving things along, I have committed my patch and > will continue working on the rest of the patch set. > > Improvements are welcome and can be submitted separately, but I think > it's hardly worth it because this stuff changes so rarely. But with such approach we should translate that .xsl too and it seems rather strange, isn't it? ------ Alexander Lakhin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs