Next in thread → Next in month →

Re: [docbook-apps] inlinemediaobject + caption for epubs?

From
Bob Stayton <>
Date
2010-01-27T18:03:20+00:00
ID
01da01ca9f7a$fc48b3d0$6600a8c0@pazu
Thread
Re: [docbook-apps] inlinemediaobject + caption for epubs?
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



----- Original Message ----- 
From: "Robert Nagle" <>
To: <>
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: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →