I think I see what's happening. Setting the
Bind to previous on the
image is binding to the (otherwise empty) enclosing para. But this para is not itself bound to the preceding para. My solution worked because the enclosing
fig element
did bind to the previous para.
This is a case where the available markup is not really adequate to fully express your requirements, but there are a couple of minor changes which could get you the desired result:
- If the image has to bind to the previous para, then it must itself be a block element and therefore needs no enclosing p. Once this is done, the bind on the image will be effective.
- If the image is regarded as an inline element, then it can't do any para binding itself. In this case you will need some means of applying the bind to the enclosing p, which would then act like fig in my earlier example. Suggest something like:
<p>...preceding text...</p>
<p outputclass="bindToPrev"><image .../></p>
Does this help?
Geoff