This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
programlistingco help
- From: "Grobe, Gary" <Gary_Grobe at bmc dot com>
- To: "'docbook at lists dot oasis-open dot org'" <docbook at lists dot oasis-open dot org>
- Date: Fri, 15 Feb 2002 15:47:05 -0600
- Subject: DOCBOOK: 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>