This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Weird Title Spacing in FOP


In the root.properties attribute-set, the text-align property is set to
'justify'.  I think the chapter and other titles are inheriting that value.
I'm not sure why in XEP that property isn't inherited by the titles.  But
you can edit a copy of titlepage.templates.xml to add text-align="start" (or
"left") for chapter, appendix, and maybe other titles as well, and then
regenerate titlepage.template.xsl and include it in a customization file.
Or if you want your whole document left-aligned, then set the property in
the root.properties attribute set instead.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Bob Lee" <crazybob@crazybob.org>
To: "DOCBOOK-APPS" <docbook-apps@lists.oasis-open.org>
Sent: Sunday, October 03, 2004 8:36 AM
Subject: [docbook-apps] Weird Title Spacing in FOP


> For some reason, when FOP wraps titles, it justifies the first line
> which results in huge spacing and looks like crap. This works fine in
> XEP. Anyone know of a workaround?
>
> Thanks,
> Bob
>
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]