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]
Other format: [Raw text]

programlistingco tag


I'm having a problem trying to get the programlistingco tag to display the
callouts (i.e. numbered bullets, or anything) using what I have below. I
tried to go by the reference link here ...

http://docbook.org/tdg/en/html/programlistingco.html

Any help much appreciated.

--- 
<programlistingco>

<areaspec units="linecolumn">
   <area id="plco.subj" coords='6' />
   <area id="plco.relpath" coords='8' />
   <area id="plco.methodname" coords='10' />
   <area id="plco.inputarg" coords='12' />
</areaspec>

<example><title>A minimum JCOS example.</title>
<programlisting>

...

50 lines of program code

...

</programlisting>
</example>

<calloutlist>
   <callout arearefs="plco.subj"><para>my notes #1</para>
   </callout>
   <callout arearefs="plco.relpath"><para>my notes #2</para>
   </callout>
   <callout arearefs="plco.methodname"><para>my notes #3</para>
   </callout>
   <callout arearefs="plco.inputarg"><para>my notes #4</para>
   </callout>
</calloutlist>

</programlistingco>


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