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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Chunk formatting of Chapters

> From: Brendan Boyle <brendan@shadowtech.com.au>
> I almost have my html output exactly as I want it but for two small
> problems I can't solve:
> 1.  I want to remove the word "Chapter" from each Chapter and replace it
> with something else (eg; instead of "Chapter 1" I would like "Topic 1").
> I have searched for where the word is inserted in the xsl sheets but
> can't find it anywhere. Is this hardcoded?

No, it is internationalized.  8^)
The generated text is in the common/en.xml 
and other language files.
This recent message describes how to make a 
customization for one of those files:

> 2.  In the final output I need to distinguish the Chapter title on a
> page from the sect1 title.  Currently they are both output as <h2> and I
> would like to output Chapter titles as <H1> instead.  Has this been done
> anywhere?

I wonder if that is a bug?  In a sect1 chunk, the titles
map to a nice hierarchy:

sect1  ->  h2
sect2  ->  h3
sect3  ->  h4

I would think chapter would map to h1.

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

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

Powered by eList eXpress LLC