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]

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


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