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: Stylesheets customizations to play nice with FOP


On Thu, Sep 19, 2002 at 10:48:37AM -0500, Dennis Grace wrote:
> 
> Bob replies to:
> >>>>>
> > 1) Page headers and footers aren't centered. Sorry, I don't
> >    know how to fix it.
> <<<<<
> 
> with
> 
> >>>>>
> 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.
> <<<<<
> 
> I'm having a similar problem with PassiveTex, but it's the separator
> lines--not the headers and footers themselves--that are not centered. For
> an article, I get a header with a separator line ending just one space to
> the right of the title. Something like this:
> 
> 
>                                  Sample Article Title
>       ________________________________________________
> 
> 
> The footer line ends aligns with the header line. Is this a problem with my
> DocBook or PassiveTeX? Any idea how to get those lines centered?

I'm pretty sure this is a PassiveTeX bug.  I included it
in a list of problems I sent to Sebastian Rahtz.

Some but not all of my headers in one document have this
problem.  The header/footer rules are drawn as borders on
one edge of the fo:table that is used to format the line.
The current PT seems to have some problems with table
borders, as the left border on tables is also missing. 

-- 

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


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