[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Stylesheets customizations to play nice with FOP
On Wed, Sep 18, 2002 at 04:13:39PM +0200, Martin Perina wrote: > Hi all, > > I've collected some customizations from various mails and > put them into one file (fop-common.xsl). When you import > this stylesheet along with standard fo/docbook.xsl, your > PDF output through FOP will be quite nice. I've tested it > with DocBook stylesheets 1.55 and FOP 0.24 and all elements, > that I need (TOC, SVG images, tables, czech TTF fonts), worked > fine. This is very nice. Thank you. > But two problems remain: > > 1) Page headers and footers aren't centered. Sorry, I don't > know how to fix it. Perhaps the problem is the use of the proportional-column-width() function in your customized header.table template? Is that function supported in FOP? You might need to use percentage or fixed column widths (ugh). You might try turning on table borders in your header.table to test where the cell boundaries are. The center cell uses text-align="center", but if the cell itself is not centered on the page, then the text won't be centered on the page. -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 Caldera International, Inc. fax: (831) 429-1887 email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC