public inbox for [email protected]  
help / color / mirror / Atom feed
Adding a custom tag to sgml files
2+ messages / 2 participants
[nested] [flat]

* Adding a custom tag to sgml files
@ 2016-04-22 04:56  Idan Kamara <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Idan Kamara @ 2016-04-22 04:56 UTC (permalink / raw)
  To: pgsql-docs

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.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Adding a custom tag to sgml files
@ 2016-04-23 03:09  Peter Eisentraut <[email protected]>
  parent: Idan Kamara <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2016-04-23 03:09 UTC (permalink / raw)
  To: Idan Kamara <[email protected]>; pgsql-docs

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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-04-23 03:09 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22 04:56 Adding a custom tag to sgml files Idan Kamara <[email protected]>
2016-04-23 03:09 ` Peter Eisentraut <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox