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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: DOCBOOK: Newbie: No "Chapter 1" - just "MyNameForTheChapter"


/ Hermann Flacke <hermann.flacke@bluewin.de> was heard to say:
| I don't want to put the text "Chapter 1" at the beginning of a chapter. I 
| would like to put my own text "MyNameForTheChapter" each time a new chapter
| begins. Because I don't want to change the original files I have to find out 
| what entries in what files I have to change. I looked at the DSSSL-files
| but I couldn't find any "defines" that put it to work.
| 
| Can anyone help?

Make a copy of the file common/dbl1en.ent; edit the words in that file,
and include it in your stylesheet:

<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY % mynames SYSTEM "/path/to/the/copy/you/made">
%mynames;
]>

...

That should do it.
                                        Cheers,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Wandering in a vast forest at
http://www.oasis-open.org/docbook/ | night, I have only a faint light
Member, DocBook Editorial Board    | to guide me. A stranger appears
                                   | and says to me: "My friend, you
                                   | should blow out your candle in
                                   | order to find your way more
                                   | clearly." This man is a
                                   | theologian.--Diderot



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


Powered by eList eXpress LLC