Hi Paul,

> We've updated our DocBook->PDF build process from fop 0.25 to 0.92beta,

That's an excellent idea! ;-)


> involving:
> 
> * DocBook XSL 1.70.1
> * a customised layer
> * Saxon 6.5.5
> * FOP 0.92beta
> 
> In the output, we're getting 2 types of error; a WARNING and SEVERE.
> 
> The WARNINGs are of the type:
> 
>      [fop] WARNING: Line 1 of a paragraph overflows the available area.
> (fo:block, location: 124/452)
> 
> This appears to happen due to fo:external-graphics; for example, from
> the FO
> file:
> 
> <fo:external-graphic src="images/TransactionStateModel.png" width="auto"
> height="auto" content-width="auto" content-height="auto"/>
> 
> This worked fine in FOP 0.25, not sure why it gives an error now.

Your image is perhaps too wide to fit on one line. If I'm correct Fop
0.20.5 would make it overflow without even noticing the user. You can
try to replace "auto" by "scale-to-fit" for the value of content-height.
But if possible this may be easier to resize the image to make it fit on
the line.


> The SEVERE error says:
> 
>      [fop] SEVERE: javax.xml.transform.TransformerException: Some content
> could not fit into a line/page after 50 attempts. Giving up to avoid an
> endless loop. (fo:list-item, location: 163/1562)
> 
> 163/1562 begins with:
> 
> <fo:list-item-label end-indent="label-end()">
> 
> The SEVERE error is described in this FOP bug:
> 
> http:/=issues.apache.org/bugzilla/show_bug.cgi?id=39840
> 
> Jeremias says this is due to the fact that the "document is "littered with
> keeps". I've tried using "<xsl:attribute
> name="keep-with-next.within-column">auto</xsl:attribute>" (rather than
> "always") for all the
> following attribute sets:
> 
> * admonition.title.properties
> * formal.title.properties
> * formal.object.properties
> 
> This change unfortunately didn't make a difference. We also tried updating
> to DocBook XSL 1.71.1.

Not sure if those attribute sets apply to the element that is causing
the problem. Can you post a reduced example that is showing your
problems? Not the source xml file, please, just the generated fo file.

Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to