Re: [DOCS] Docbook 5.x - Mailing list pgsql-docs

From Alexander Lakhin
Subject Re: [DOCS] Docbook 5.x
Date
Msg-id 18ed8940-ae84-09c9-1236-d8a9648b2417@gmail.com
Whole thread Raw
In response to Re: [DOCS] Docbook 5.x  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [DOCS] Docbook 5.x
List pgsql-docs
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

pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [DOCS] Docbook 5.x
Next
From: "David G. Johnston"
Date:
Subject: Re: [DOCS] Wrong COPY command synopsis