atom feed7 messages in org.oasis-open.lists.docbook-appsHeader out of alignment - space befor...
FromSent OnAttachments
Paul MoloneyApr 2, 2007 3:19 am 
Bob StaytonApr 4, 2007 12:31 am 
Paul MoloneyApr 12, 2007 9:01 am 
Bob StaytonApr 12, 2007 9:50 am 
Colin ShapiroApr 12, 2007 9:55 am 
Colin ShapiroApr 12, 2007 9:59 am 
Bob StaytonApr 12, 2007 10:41 am 
Subject:Header out of alignment - space before graphic
From:Paul Moloney (paul@hotmail.com)
Date:Apr 2, 2007 3:19:45 am
List:org.oasis-open.lists.docbook-apps

I've implemented a three-celled header as described at http://www.sagehill.net/docbookxsl/PrintHeaders.html#PrintHeadersText; the left cell contains a graphic, while the right one contains the name of the current chapter.

All is well except there's unexplained space above the graphic, which means it's not level with the chapter name (see http://img47.imageshack.us/img47/1728/headered8.png)

The graphic has the following settings:

<fo:external-graphic height="1.42cm" padding-before="0cm" padding-after="0cm" padding-start="0cm" padding-top="0cm" padding-bottom="0cm" padding-end="0cm" content-height="1.42cm" display-align="bottom"> etc...

I also set the region.before.extent value to 1.5cm. However, the space before the graphic pushs it down over the body text, meaning that (as a workaround) I had to set page.margin.top to 0cm (that is, the very top of the page).

The section of my custom layer dealing with headers is at:

http://www.pasteserver.net/824

An extract from the resulting FO file showing a typical header table is at:

http://www.pasteserver.net/825

Regards,

P.