OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Part of a book

When I test your part element with the 1.68.1 stylesheets, I get the TOC
line as follows:

   First Part. My First part ..........

And the part titlepage is as follows:

   Part First Part. My First part

In the DocBook stylesheets, the "label" is just the number.  You have
replaced the generated number with "First Part" by specifying the label
attribute.  By default, the TOC just shows the number followed by the title,
the same behavior as for chapters.  On the title page, it generates the word
"Part" followed by your label "First Part", followed by the title.

You seem to be suggesting that you don't see "Part First Part".  Are you
using a customization?  Do you get the same behavior with the stock

If you want to eliminate the generated word "Part" on the titlepage, you
should customize the l10n gentext template with name="part" in the context
"title".  You would remove the "Part " from its text attribute.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Jacques" <jacques@foucry.net>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Sunday, February 27, 2005 12:49 PM
Subject: [docbook-apps] Part of a book

Hello list,

I would like to have differetns part in my book. So I defined a first
part like that :

 <part label="First Part">
    <title>My First part</title>
        <para>blah blah blah</para>
        <para>Blah blah blah</para>

 In the ToC, I found :

 First Part. My First Part......
    1. Dummy....

But My First Part page doesn't have the label First Part (there's only
the title), like in the ToC :

First Part. My First part.

Did I have to customize the xsl to have the label ?

Thanks in advance,
 Pourquoi faire simple quand on peut faire compliqué ?

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]