I've been trying to delete blank pages in chapters so that the first
chapter starts on an odd page and subsequent chapters start on even or
odd. After having incorporated several customisations from information
in other postings on the topic, the closest I get is being able to
generate the correct 'odd-then-even' page sequence and have no blank
pages between chapters, /but/ the first page starts on page 15 (i.e. it
follows on from the prelims page count) and the page numbers disappear
from the footer.
I have firstly specified a variable "chaptersrunon" which gives the
options of generating the usual page sequence, plus the 'no-blanks' page
sequence ("0" -- all chapters start on odd page; "1" -- chapters after
chapter 1 start on even or odd page with no blanks). I have added a
page-sequence-master called "bodycustom" to template 'user.pagemasters'
and am calling that in template select.user.pagemaster, depending on the
value of "chaptersrunon". I have also set the "bodycustom" page sequence
in template 'initial.page.number' and template 'force.page.count'.
I've experimented with the "bodycustom" page sequence by commenting out
some of the conditional-page-master-reference lines, and by removing
certain elements from the template 'initial.page.number' in
<xsl:whentest="starts-with($master-reference,'bodycustom')"> as I
thought that the preface might have been interfering with the page
numbering for the first chapter. I have attached my entire customisation
(which includes removing blanks from the TOC and LOTs -- that works nicely).
Thanks,
--
*Dave Gardiner*
</xsl:whentest="starts-with($master-reference,'bodycustom')">