This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Newbie: No "Chapter 1" - just "MyNameForTheChapter"
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Newbie: No "Chapter 1" - just "MyNameForTheChapter"
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Sat, 1 Jan 2000 17:18:16 -0500
- References: <20000101211822.A1886@troja.hellas>
- Reply-To: docbook at lists dot oasis-open dot org
/ 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