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: Inline media object/text overlapping on PDF output


For my thesis, I frequently use the <inlinemediaobject> tag to  
display small inline graphics in PDF format.

I have managed to vertically center my inline images using a  
customization layer. After transformation, the generated FO is as  

<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
     Some text
         <fo:external-graphic src="url(file:/foo.pdf)" width="auto"  
             content-width="auto" content-height="auto" vertical- 
     Some long text which automatically line breaks and continues on  
the next line ...

My problem appears when I create a PDF file (using the XEP renderer):
The external graphic appears perfectly aligned, but the succeeding  
"Some long text [...]" overlaps with the lower part of the graphic,  
which is bad.

I understand this may not be a DocBook issue, but I could not find  
any decent XSL-FO documentation - not even on the W3C site - and  
after fiddling with some FO attributes (which I don't really  
understand) I feel pretty lost now.

I would appreciate any ideas - even a RTFM to a FO spec document  
where I can learn about basic line spacing in FO.
Thank you!

Claudio Pellegrino

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