[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] why does xsltproc create drafts from DocBook XML?
On Wed, 7 Jan 2004, Bob Stayton wrote: > To turn off the draft mode entirely, you can set the 'draft.mode' > parameter to 'no' on xsltproc's command line: > > xsltproc --stringparam draft.mode no ... > > While you are at it, be sure to set the 'fop.extensions' parameter > to 1 as well with another --stringparam option. > That avoids certain things in the FO output that > FOP doesn't handle. > > You will still get some warnings and such from FOP, but at > least you should get PDF output. Excellent! These parameters give the best output I've seen sofar. Two things could be improved: 1) Table positioning is poor. In several cases a table is started near the bottom of a page, and should be moved to the next page altogether. Is there a way to influence that? 2) The Register (Index) of <glossterm>s at the end refers to page 2 in all cases. What can I do about that? Do I need to run a separate program to build an index first? This is built-in in the toolchain that uses TeX. > ----- Original Message ----- > From: "Tom Peters" <tpeters@xs4all.nl> > To: <docbook-apps@lists.oasis-open.org> > Sent: Tuesday, January 06, 2004 1:08 PM > Subject: [docbook-apps] why does xsltproc create drafts from DocBook XML? > > > > I've been trying to get DocBook XML to print. I've abandoned the DSSSL > > toolchain and try to get XSLT and FO working. Now xsltproc generates a > > .fo file without complaints, using the docbook.xsl from Norman Walsh. > > Subsequently `fop` however balks at many things. For one thing: > > > > > > Error creating background image: Error creating FopImage object (Error > > creating FopImage object > > (http://docbook.sourceforge.net/release/images/draft.png) : > > org.apache.fop.image.JimiImage > > > > Besides the fact that I am on-line and the image is reacheable (so it is > > odd that fop apparently cannot do anything with it), I don't want a > > "draft" watermark in my print in the first place. > > How come that this comes out of xsltproc? In NW's pagesetup.xsl there > > are stanza's like: > > <xsl:if test="$draft.mode != 'no'"> > > that should prevent references to the $draft.watermark.image . > > What do I do in DocBook to prevent this show-stopper? > > > > > > > > For another thing, I get errors like: > > [ERROR] property - "background-position-horizontal" is not implemented > yet. > > [ERROR] property - "background-position-vertical" is not implemented yet. > > But maybe they go away if I get rid of any background images. > > > > > > > > Finally (for now), `fop` breaks with: > > [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 > > > > In my DocBook XML I never refer to "relative-align" or "baseline", > > whatever they may be. What can I do about that? > > > > Thanx, > > > > > > > > To unsubscribe from this list, send a post to > docbook-apps-unsubscribe@lists.oasis-open.org, or visit > http://www.oasis-open.org/mlmanage/. > > > > -- #>!$!%(@^%#%*(&(#@#*$^@^$##*#@&(%)@**$!(&!^(#((#&%!)%*@)(&$($$%(@#)&*!^$)^@*^@) Tom "thriving on chaos" Peters
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]