Hi Anton,

Thanks for your FOP output-- I've compared it with mine and it looks fine:

<fo:block space-before.minimum="0.5em" space-before.optimum="1em" space-before.maximum="2em" space-after.minimum="0.5em" space-after.optimum="1em" space-after.maximum="2em" id="N1004A">
<fo:block space-before.optimum="1em" space-before.minimum="0.8em" space-before.maximum="1.2em" font-weight="bold" font-size="12pt" hyphenate="false" space-after.minimum="0.4em" space-after.optimum="0.6em" space-after.maximum="0.8em" keep-with-next.within-column="always">Figure¬ 1.1.¬ Portlet Web Applications and the Portlet Lifecycle</fo:block>
<fo:block>
<fo:external-graphic src="url(figures/lifecycle.png)" width="auto" height="auto" content-width="auto" content-height="auto"/>
</fo:block>
</fo:block>


But I'm still getting:

[java] [ERROR] Flow 'xsl-region-body' does not map to the region-body in page-master 'blank'
[java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
[java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
[java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[java] at org.apache.fop.apps.Driver.render(Driver.java:457)
[java] at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:69)
[java] at org.apache.fop.apps.Fop.main(Fop.java:19)
[java] Java Result: 2


and it doesn't render. I'm using docbook 1.60.1 stylesheets-- did you have to make any edits to it?

Thanks, Jason


anton wrote:

Hi!



How do I do this exactly-- it looks like FOP tags are not only more
confusing than docbook tags but certainly a lot more plentiful! For
instance for my 5 docbook lines it turns it into 100 lines of fop that
doesn't look like it was intended to be human editable...



OK, i used now this <figure>-Tag and there are no warnings or errors

following XML-Code:

<figure>
 <title>Test</title>

 <graphic fileref="figure/quanta-screen1.jpg" />
</figure>

and here the fo Part:

<fo:block    space-before.minimum="0.5em"
                space-before.optimum="1em"
                space-before.maximum="2em"
                space-after.minimum="0.5em"
                space-after.optimum="1em"
                space-after.maximum="2em" id="d0e44">
        <fo:block    space-before.optimum="1em"
                        space-before.minimum="0.8em"
                        space-before.maximum="1.2em"
                        font-weight="bold" font-size="13.2pt"
                        hyphenate="false"
                        space-after.minimum="0.4em"
                        space-after.optimum="0.6em"
                        space-after.maximum="0.8em"
                        keep-with-next.within-column="always">
        Abbildung 2.1. Test
        </fo:block>

        <fo:block>
        <fo:external-graphic src="figure/quanta-screen1.jpg"
                        width="auto"
                        height="auto"
                        content-width="auto"
                        content-height="auto"/>
        </fo:block>
</fo:block>


There are no tags, which would be able to cause errros. keep-with-next.within-column="always" is ignored.

=> There is no need to customize this template. Check your fo-output for
differences with my.



CU
Anton






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



Reply via email to