Hi,

I want to add a front cover sheet to a document. The document
is two-sided, consisting of multiple chapters (each being a
page-sequence) with the page number in the header.

My problem, is that when I add the cover, it is treated as
pages one and two (I want the first 'real' page to start on
the right, so I insert a blank page after the cover). This
means that the first chapter starts at page 3, when I want it
to start at page 1.

Is there a way to force the first chapter to be page 1?

I've tried setting initial-page-number="-1" for the front
cover, but that didn't work (I'm not that surprised).

I can't think of a way of setting the first chapter to start on
page one, without either all chapters starting on page 1, or
duplicating the page-sequence definition for each chapter type
for the situation where it's the first chapter - since the
initial-page-number is an attribute to fo:page-sequence, I can't
stick it into an <if>.

My template is here:

http://yagsbook.svn.sourceforge.net/viewvc/yagsbook/trunk/xml/xslt/pdf/yagsbook.xsl?revision=78&view=markup

I add the cover at line 349,
I match each chapter at line 399.

-- 
Be seeing you,        Games: http://www.glendale.org.uk/
Sam.                  Posts: http://www.google.com/profiles/samuel.penn

Reply via email to