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] 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:

http://www.dpawson.co.uk/docbook/styling/titlepage.html#d1963e176

David

-----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


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


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