This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Callouts
- From: Sean Wheller <sean at enbaya dot co dot za>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 20 Jan 2004 21:32:07 +0200
- Subject: [docbook-apps] Callouts
- Organization: Enbaya
- Reply-to: sean at enbaya dot co dot za
Hi,
When I use areaspec to define the location of co bugs I get a strange looking
layout in HTML.
The area spec is like this:
<programlistingco>
<areaspec units="linecolumn">
<area coords="2 15" id="dim-co" linkends="dim"/>
<area coords="3 45" id="construct-co" linkends="construct"/>
<area coords="4 54" id="logon-co" linkends="logon"/>
<area coords="5 11" id="msgbox-co" linkends="msgbox"/>
<area coords="6 19" id="logoff-co" linkends="logoff"/>
<area coords="7 20" id="destruct-co" linkends="destruct"/>
</areaspec>
<programlisting><![CDATA[
Dim uid, myObj
Set myObj = createobject("Encore.Utilities")
uid = myObj.logon("ADMIN","" ,"0" ,"", "00", 0, 0,"")
msgbox uid
Encore.logoff(uid)
Set myObj = Nothing
]]></programlisting>
<calloutlist>
<callout arearefs="dim-co" id="dim">
....
The HTML result is:
<div class="programlistingco">
<table border="0" bgcolor="#E0E0E0">
<tr>
<td><pre class="programlisting">
Dim uid, myObj</pre></td>
</tr>
</table>❶
<table border="0" bgcolor="#E0E0E0">
<tr>
<td><pre class="programlisting">
Set myObj = createobject("Encore.Utilities")</pre></td>
</tr>
</table>❷
<table border="0" bgcolor="#E0E0E0">
<tr>
<td><pre class="programlisting">
uid = myObj.logon("ADMIN","" ,"0" ,"", "00", 0, 0,"")</pre></td>
</tr>
</table>❸
<table border="0" bgcolor="#E0E0E0">
<tr>
<td><pre class="programlisting">
msgbox uid</pre></td>
</tr>
</table>❹
<table border="0" bgcolor="#E0E0E0">
<tr>
<td><pre class="programlisting">
Encore.logoff(uid)</pre></td>
</tr>
</table>❺
<table border="0" bgcolor="#E0E0E0">
<tr>
<td><pre class="programlisting">
Set myObj = Nothing</pre></td>
</tr>
</table>❻
<table border="0" bgcolor="#E0E0E0">
<tr>
<td><pre class="programlisting">
</pre></td>
</tr>
</table>
<div class="calloutlist">
<table border="0" summary="Callout list">
<tr>
<td width="5%" valign="top" align="left"><a name="dim"></
a>❶
</td>
<td valign="top" align="left">
How can I have the co bugs position themselves at the end, or in, the
annotated line instead of beneath the line?
--
Sean Wheller
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.