This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: ClassSynopsis revisited again


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]