This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Where should be Preface placed
- From: Togan Muftuoglu <toganm at users dot sourceforge dot net>
- To: Docbook Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 18 Dec 2002 12:37:15 +0200
- Subject: DOCBOOK-APPS: Where should be Preface placed
Hi,
I have a problem in understanding where Preface should be placed in a
book since it does have an effect on the page numbering.
in division.xsl it is coded
<xsl:choose>
<xsl:when test="not(preceding::chapter or preceding::preface)
and not(preceding::part)">
<!-- if there is a preceding chapter or part, page numbering -->
<!-- will already -->
<!-- be adjusted, otherwise restart the page numbers -->
<xsl:attribute name="initial-page-number">1</xsl:attribute>
</xsl:when>
Yet Preface/Forward comes before the Part right after the LOT in all the
books I have.
http://docbook.org/tdg/en/html/ch02.html#ch02-physdiv states
"
Components
Components are the chapter-like elements of a Book or Part: Preface...."
that is as I understand it Preface is not after the LOT. So the question
is where is the correct place for Preface ?
Bu adapting the adove part of the stylesheet I am able to get the
numbering correted as I want it to be with numbereing retsaring at 1
with Part I. Is this the correct approach
Thanks
--
Togan Muftuoglu