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 help


I've got the following docbook page below and I know that the areaspec tags
are not quite right yet, but when I display this page, all the program code
is being appended together word for word as if it were in a paragraph ...
all jumbled together. I doubt it is due to wrong areaXXX tags.

Any help much appreciated to what I'm doing wrong. Thnxs.

Also note that instead of the black dots as shown in
http://docbook.org/tdg/en/html/programlistingco.html, I get 1), 2).

--- my chapters sgml file
<chapter id="myCode">
<title>MyImplementation</title>

<programlistingco>
<areaspec>
   <areaset id="subj" coords="">
      <area id="ex.plco.c1" coords='4'/>
      <area id="ex.plco.c2" coords='8'/>
   </areaset>
   <area id="relpath" coords='8'/>
   <area id="ex.plco.c2" coords='8'/>
</areaspec>
<programlisting>

 ... lots of code lines here ...

</programlisting>

<calloutlist>
   <callout arearefs="subj"><para>notes about this line
   </para>
   </callout>
   <callout arearefs="relpath"><para>notes about this line
   </para>
   </callout>
</calloutlist>

</programlistingco>

</chapter>


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