OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Image callouts and roles

On 03 Oct, 2011,at 02:21 PM, Bob Stayton <bobs@sagehill.net> wrote:

Indeed.  Here is the update to the template for the imageobjectco element I was going to check in.  It should work equally well in an html or fo customization layer. It uses the same mechanism to select a role attribute.  The difference from mediaobject is that it only does the selection if the right conditions are met, on the assumption that you may intend to have multiple imageobjects in your output.   Let me know if it works for you.
Awesome, thanks Bob!

It seems to do the right thing viz display a single imageobject depending on the role.

The HTML imagemap produced seems to be broken, which I can reproduce with the stock stylesheets and a single imageobject.

    <div class="screenshot">
      <div class="mediaobject"><img border="0" usemap="" src=""/><map name="id2540550"><area shape="rect" coords="NaN,NaN,NaN,NaN"/></map></div>

The source document had <area coords="500,500,600,600" ...> I also tried forcing units="calspair", but still got NaNs. I'll investigate more; this is rather likely to be my fault :-)



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]