Re: [docbook-apps] Do callouts on images work?

From
Jacques Foucry <>
Date
2011-04-12T17:52:38+00:00
ID
Thread
Re: [docbook-apps] Do callouts on images work?
On 12 avr. 2011, at 19:03, Chris Ridd wrote:

> It may not be elegant, but that's pretty clever! Are your bugs just drawn objects, or are they marked up as <co> elements?

On the pictures, they are only draw objects. Then in the docbook source I do:

<figure xml:id="anID">
	<title>a title</title>
	<mediaobject>
		<imageobjectco>
			<areaspec>
				<area xml:id="id_cobug1" coords=""/>
				<area xml:id="id_cobug2" coords=""/>
					...
			</areaspec>
		</imageobjectco>
		<imageobject>
			<imagedata fileref="image.svg" format="SVG"/>
		</imageobject>
	</mediaobject>
</figure>
<calloutlist>
	<callout arearefs="id_cobug1">
		<para>something about the co1</para>
	</callout>
	<callout arearefs="id_cobug2">
		<para>something about the co1</para>
	</callout>
</calloutlist>

Hope this help