Hi,
I would suggest that an informalfigure element with a floatstyle="right" attribute would be more appropriate for wrapping the text flow around the figure. You could add a caption element to the mediaobject element inside the informalfigure. I haven't tried it with epub, but it works in XHTML.

Bob Stayton
Sagehill Enterprises
b...@sagehill.net


----- Original Message ----- From: "Robert Nagle" <idiotprogram...@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, January 26, 2010 3:59 AM
Subject: [docbook-apps] inlinemediaobject + caption for epubs?


Hi, I'm trying to create xhtml/epub content and trying to use images
which are right-aligned and floating but have captions.

I don't want images to interrupt the flow of the page when it's in
epub.  Instead I want text to wrap around a right-aligned image.

It looks like inlinemedia is the best element for that; however, by
default inlinemedia doesn't allow captions -- only textobjects which
don't render in chunked html output (only as alt text).  I need the
equivalent of captions for inlinemedia elements.

Is there a way to override that so that textobjects are visible?

The problem here is that mediaobjects are block elements (which make
sense for  html and fo output, but not for epub). When dealing with
smaller sized screens, using the extra space to separate an image
block element is wasteful and inefficient.

Any ideas for how to solve this problem?





Robert Nagle
Houston, Texas
http://www.imaginaryplanet.net/weblogs/idiotprogrammer/

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org





---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to