Adding a custom tag to sgml files

Started by Idan Kamaraalmost 10 years ago2 messagesdocs
Jump to latest
#1Idan Kamara
idankk86@gmail.com

How would I go about adding a custom tag to the docs, and then control what
the html processor outputs for it?

E.g. Suppose I wrap some text in one of the sgml files with a <mytag
class="foo" anotherattr="bar">, </mytag> and then want to have that
translate to a <span class="foo" anotherattr="bar">, </span> in the html
output.

I realize this is more of a DocBook question and not specific to the pg
docs, but hoping something familiar with the underlying tools (which I've
spent the better part of today trying to learn, with limited success) has
the answer. Thanks.

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Idan Kamara (#1)
Re: Adding a custom tag to sgml files

On 04/22/2016 12:56 AM, Idan Kamara wrote:

How would I go about adding a custom tag to the docs, and then control
what the html processor outputs for it?

See here: http://www.docbook.org/tdg/en/html/ch05.html

Generally, this is not worth it.

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs