This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: ClassSynopsis revisited again
- To: <docbook at lists dot oasis-open dot org>
- Subject: RE: DOCBOOK: ClassSynopsis revisited again
- From: "Gershon Leib Joseph" <gershon at mainsoft dot com>
- Date: Sun, 20 Feb 2000 13:10:15 +0200
- Reply-To: docbook at lists dot oasis-open dot org
Norm, I encountered a similar problem when documenting a client's
proprietary API. In the end, I gave up on what DocBook had to offer and
added my own extension to the DocBook DTD that gave me exactly the markup I
needed. It's specific to my case, though. IMHO, your last suggestion (the
one I quote below) would be pretty usable for most situations:
<classsynopsis language="cpp">
<classparam>
<classname>Rectangle_with_data</classname>
</classparam>
<classparam>
<modifier>virtual</modifier><classname>Shape</classname>
</classparam>
<classparam>
<modifier>virtual</modifier><classname>Data_container</classname>
</classparam>
</classsynopsis>
Gershon.