This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] XSL Toolchain
- From: Bob Stayton <bobs at sco dot com>
- To: Jason Foster <retsofaj at mac dot com>
- Cc: docbook at lists dot oasis-open dot org
- Date: Mon, 1 Sep 2003 21:36:34 -0700
- Subject: Re: [docbook] XSL Toolchain
- References: <0EA0F111-DCEB-11D7-9ECD-003065B05B7E@mac.com>
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
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org.