OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] background-image across page regions

Are you using an .eps image or a bitmap? I've found that to use a bitmap on a cover I have to use xep's extensions to make the image the same size as the page.width. For this reason, I prefer to use epses. Maybe this example of how to do a full page cover could give you some ideas for your present situation:



-----Original Message-----
From: Bob Stayton [mailto:bobs@sco.com]
Sent: Monday, June 23, 2003 1:28 PM
To: Jeroen van Holst
Cc: docbook-apps
Subject: Re: [docbook-apps] background-image across page regions

On Mon, Jun 23, 2003 at 07:29:03PM +0200, Jeroen van Holst wrote:
> On Mon, 2003-06-23 at 19:08, Bob Stayton wrote:
> > The page masters for draft.mode in the stylesheets output
> > a background image.  Take a look at any of those page
> > masters fo/pagesetup.xsl, such as:
> > 
> >   <fo:simple-page-master master-name="blank-draft">
> > 
> > It sets a bunch of extra attributes on the <fo:region-body>.
> I did and used it as an example for including my own background image!
> My image is displayed properly, within the body region as expected.
> However, I would like to have the image cover the *entire* page,
> including regions start/end and before/after. Can this be done with 
> attributes in region-body (perhaps the solution is obvious, but I'm
> fairly new with this stuff)?

I don't know if this will work, but
did you try setting the background-position-horizontal 
to a negative value, equal to the left page margin?
Same with the background-position-vertical and the top margin.  
The image needs to be big enough to cover the whole page,
of course.


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]