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]

Re: 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:

http://lists.oasis-open.org/archives/docbook-apps/200110/msg00140.html
 
> 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.

bobs
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

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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