This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [NW-XSLT:FO] styling chapter (/component) titles
Bob
Saxon 6.5.2
ditto here
> Fop 0.2.3 and 0.2.4
I'm using 0.2.4. Does yours spit out endless error messages as well?
I have
<s:param name="fop.extensions" select="1"/>
but I get lots of stuff like
############################################################
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline':
org.apache.fop.fo.exp
r.PropertyException: No conversion defined
[ERROR] Error in column-width property value '33%':
org.apache.fop.fo.expr.Prope
rtyException: No conversion defined
[ERROR] Error in column-width property value '34%':
org.apache.fop.fo.expr.Prope
rtyException: No conversion defined
[ERROR] Error in column-width property value '33%':
org.apache.fop.fo.expr.Prope
rtyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
[ERROR] Error in relative-align property value 'baseline':
org.apache.fop.fo.exp
r.PropertyException: No conversion defined
[ERROR] Unknown enumerated value for property 'relative-align': baseline
############################################################
(how can I get FOP to write all that to a file? I guess it'll be
difficult on Win9x)
I think most error messages are related to unimplemented stuff, but for
some others there might be temporary workarounds available ... can you
point me to some FOP specific customizations which list some? I'm really
looking forward to FOP 1.0.
DocBook XSL 1.60.1
I might wait before switching to 1.6x since there seem to be issues with
FO generation, as I heard on this list IIRC.
How did it fail for you?
I just found my error. I edited the wrong template:
<t:titlepage element="article" wrapper="fo:block">
(I have no article element, so nothing changed in my FO)
I'm still new to this whole titlepage mechanism, and I guess I was
intimidated by 1125 LOC ... :|
Anyways: Thank you very much for your help.
Setting
fo:font-weight="100"
in my.titlepage.templates.xml
<t:titlepage element="chapter" wrapper="fo:block">
<title
works.
Tobi
--
http://www.pinkjuice.com/