OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: [docbook] XSL Toolchain

On Mon, Sep 01, 2003 at 10:13:35PM -0400, Jason Foster wrote:
> It is with much shame that I turn to the list to help with what should  
> be a fairly trivial question.  I've checked the lists (I think), done  
> some investigations, and have clearly missed something obvious.  I'm  
> trying to transform a DocBook xml document into a PDF file using  
> DocBook XSL 1.63.0, FOP 0.25.0, XalanJ 2.5.1, and XerxesJ 2.5.0
> I run my source file through "docbook-xsl-1.62.0/fo/docbook.xsl" and  
> everything seems to come out clean.  Then I pass the result through  
> "docbook-xsl-1.62.0/fo/fo-patch-for-fop.xsl" and again no errors  
> appear.  Finally I run things through FOP and the result is a whole  
> bunch of:
> [ERROR] property - "background-position-horizontal" is not implemented  
> yet.
> [ERROR] property - "background-position-vertical" is not implemented  
> yet.
> Error creating background image: Error creating FopImage object  
> (http://docbook.sourceforge.net/release/images/draft.png) : Jimi image  
> library not available
> [ERROR] Unknown enumerated value for property 'relative-align': baseline
> [ERROR] Error in relative-align property value 'baseline':  
> org.apache.fop.fo.expr.PropertyException: No conversion defined
> Followed by the previously documented:
> [ERROR]  
> file:/Users/jafoster/Documents/Academic/Projects/ 
> Discipline%20of%20Design/DiscOfDesign.fo.fop:2:28750 master-reference  
> '' for fo:page-sequence matches no simple-page-master or  
> page-sequence-master
> I'm mostly confused since I get the impression from a fast scan that  
> "fo-patch-for-fop.xsl" is designed specifically to address this problem.
> Help!  Thanks in advance :)

No shame in asking why the tools don't work as they should.
In this case, the fo-patch-for-fop.xsl stylesheet is
no longer needed if you are using version 0.20.5 of FOP.
Try skipping that step.  You will still get a lot
of FOP noise, but you should get a PDF file.

We should probably remove that patch file from
the distribution.  Sorry it caused you headaches.

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

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