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: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo


Oh.  In that case, I think you can quite legitimately point fingers at both
DocBook and FOP.  I just checked FOP's website, and they do not suppor the
<fo:float/> formatting object.  However, there's also nothing in the DocBook
DTD or in Norm's stylesheets to output an <fo:float/>.  It certainly seems
that with your particular tool chain, floats are at the moment impossible.

If you were to switch FO formatters, I could envision a stylesheet
customization along the lines of

<xsl:template match="inlinemediaobject[@role='floatleft']">
 <fo:float float="left">
  <xsl:apply-imports/>
 </fo:float>
</xsl:template>

that would work.  For now, though, there's nothing in DocBook to support
floating images. (It might make a nice RFE, though.)

Jeff

-----Original Message-----
From: Claus Rasmussen [mailto:clr@interse.com]
Sent: Friday, March 14, 2003 9:37 AM
To: docbook-apps@lists.oasis-open.org
Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo


Jeff,

Thanks for your snappy reply. 

I should have been clearer in my question - I actually meant, whether
such behavior is supported by the docbook xsl style sheets for fo,
because that's where I can't get it to work.

I'm using FOP - is that the sinner here, or is it not supported at the
style sheet level?

/claus

> -----Original Message-----
> From: Jeff Beal [mailto:jeff.beal@ansys.com]
> Sent: 14. marts 2003 15:33
> To: Claus Rasmussen; docbook-apps@lists.oasis-open.org
> Subject: RE: DOCBOOK-APPS: Wrap text around images in PDFs, using
xsl:fo
> 
> You'll need to place the image inside of a <fo:float/> element.
> 
> -----Original Message-----
> From: Claus Rasmussen [mailto:clr@interse.com]
> Sent: Friday, March 14, 2003 8:55 AM
> To: docbook-apps@lists.oasis-open.org
> Subject: DOCBOOK-APPS: Wrap text around images in PDFs, using xsl:fo
> 
> 
> Is subj. possible at all? I can create inline graphics, but only that
> one line of text will wrap around it. I'm looking for a look like what
> happens in HTML when you align an image to the left or to the right,
and
> the surrounding text wraps around it, like:
> 
> +---------+
> |         | blah, blah, text, blah, blah,
> |  image  | wrap..wrap..blah, blah, blah,
> |         | blah, blah, clah, ajsldf alksdf
> +---------+ lakjsdf ljks sdlfjk lsjdfs kjsdf
> lkjsf slkdfj sdflkjsdf slfdkjsf lsdj
> ljk ljk sdf lksjdf  sldjfls sljkfdsf lkjl
> 
> Anyone?
> 
> Best,
> Claus




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