Hi all,
Sorry if I'm doing something silly here.
I have an inline image which I want right aligned in the html 5 output
(I'm using Docbook 5.1 Article).
Here's my docbook:
inlinemediaobject
imageobject
imagedata fileref=http://jpg; contentwidth=200
align=right
Hi Peter,
On Do, 2013-09-05 at 13:15 +0200, Peter Fleck wrote:
pspan class=inlinemediaobjectimg style=text-align: right;
src=http://jpg; width=200//spanSome Text/p
However the image is not being aligned to the right. Am I doing
something wrong?
Well, it's called text-align for a
Hi Jeff,
Your requirement is not unusual, but the XSL-FO standard was not written to
allow nested page-sequences. The extensions developed by XEP and Antenna
House try to correct for that limitation. A new page-sequence always starts
a new page, so DocBook XSL does not allow that in the
Thanks Stefan - that worked when I changed the html manually.
How do I get the stylesheet to create it with float rather than
text-align without me having to manually change the html?
Peter
On 05/09/13 16:04, Stefan Knorr wrote:
Hi Peter,
On Do, 2013-09-05 at 13:15 +0200, Peter Fleck
Hi Bob,
I'm using XEP, so the rx:flow-section container is available to me. The RenderX
docs, though state that is must be a direct child of fo:flow, which brings me
back to only being able to inflict my will on children of the root node rather
than their descendants, and the elements I want
Well, if you are going to float it, it should not be an inlinemediaobject,
which is intended to appear inline. You could instead use this in your source
file:
informalfigure floatstyle=right
mediaobject
imageobject
imagedata ...
imageobject
mediaobject
/informalfigure
Ah, perfect. That was what I was wanting. Many thanks.
Peter
On 05/09/13 18:39, Bob Stayton wrote:
Well, if you are going to float it, it should not be an
inlinemediaobject, which is intended to appear inline. You could
instead use this in your source file:
informalfigure floatstyle=right
Well, section.container.element approach worked like a charm. Thanks Bob!
For the sake of simplicity, I modified the section template to use the RenderX
extension and I'll tell the authors to locate the tables in question in
standalone sections.
Nice to know about PSMI approach; I'll be