List Info

Thread: Cover pages for print output




Cover pages for print output
user name
2007-10-19 10:46:47

Hello all,

 

My apologies if this has been answered elsewhere.

 

Our documents have a custom cover page that has two graphics: one above title and one below it. After reviewing the DocBook XSL guide, I was able to figure out how to add a graphic to the top of the page, but I have yet to figure out how to add a second graphic. Is there a way to do this? These graphics actually go all the way to the edges of the page—;for a while I thought I could create a single image and use it as a background image for the cover page, but I haven̵7;t had any luck figuring that out either.

 

I’m using FOP to render the PDF output, if that makes any difference.

 

Thanks,

 

Dave Shevitz Sr. Technical Writer  |  f5.com" title="mailto:d.shevitzf5.com">d.shevitzf5.com  | www.f5.com
P.  206 272 5555  |  F.  206 272 5556 | D.  206 272 6104
F5 Networks  | 401 Elliott Avenue West  |  Seattle, Washington 98119


The World Runs Better with F5

Re: Cover pages for print output
user name
2007-10-21 12:01:25
Hi,
As you probably noticed, the titlepage spec file does not let you specify a graphic above the title and a different one below the title.
 
You could try bypassing the titlepage spec file mechanism and create a layout table for your title page:
 
 
That should give you direct control of the page, without having to guess how the spec file mechanism is working (it is a bit of a black box). ;
 
For the wide graphic, you could set the start-indent and end-indent to negative values to extend the table out to the page edges.  Be sure to include a start-indent="0pt" and end-indent="0pt" on your fo:table-body if you do that, or your table cells will inherit that outer start-indent.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
sagehill.net">bobssagehill.net
 
 ;
----- Original Message -----
Sent: Friday, October 19, 2007 8:46 AM
Subject: [docbook-apps] Cover pages for print output

Hello all,

 

My apologies if this has been answered elsewhere.

 

Our documents have a custom cover page that has two graphics: one above title and one below it. After reviewing the DocBook XSL guide, I was able to figure out how to add a graphic to the top of the page, but I have yet to figure out how to add a second graphic. Is there a way to do this? These graphics actually go all the way to the edges of the page—for a while I thought I could create a single image and use it as a background image for the cover page, but I haven’t had any luck figuring that out either.

 

I’m using FOP to render the PDF output, if that makes any difference.

 

Thanks,

 

Dave Shevitz Sr. Technical Writer  |  f5.com href="mailto:d.shevitzf5.com">d.shevitzf5.com  | www.f5.com
P.  206 272 5555  |  F.  206 272 5556 | D.  206 272 6104
F5 Networks  | 401 Elliott Avenue West  |  Seattle, Washington 98119


The World Runs Better with F5

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )