[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK: Newbie: Overwrite contents of a dbl1XX.ent file
I would like to change the German "Kapitel" to "MeinKapitel" but I don't want to change the original docbook files. So I copied the original dbl1de.ent to my working directory, changed the Values from <!ENTITY Chapter "Kapitel"> and <!ENTITY chapter "Kapitel"> to <!ENTITY Chapter "MeinKapitel"> and <!ENTITY chapter "MeinKapitel"> These are the other files: ------------------------------------------------------------------------- myfile.dsl <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY % chapter SYSTEM "./myent.ent"> %chapter <!ENTITY % Chapter SYSTEM "./myent.ent"> %Chapter <!ENTITY html-ss PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl> <!ENTITY print-ss PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl> <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL> ]> <style-sheet> <style-specification use="docbook"> <style-specification-body> </style-specification-body> </style-specification> <style-specification id="print" use="print-stylesheet"> <style-specification-body> ;; customize the print stylesheet </style-specification-body> </style-specification> <style-specification id="html" use="html-stylesheet"> <style-specification-body> ;; customize the html stylesheet </style-specification-body> </style-specification> <external-specification id="docbook" document="docbook.dsl"> <external-specification id="print-stylesheet" document="print-ss"> <external-specification id="html-stylesheet" document="html-ss"> </style-sheet> -------------------------------------------------------------------- myfile.smgl: <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <book lang=de> ......... <chapter label="1"> <title>iThis ist my title</title> ......... </chapter> </book> ------------------------------------------------------------------ When I'm running db2html -s ./myfile.dsl myfile.sgml or jade -t sgml -d myfile.dsl#html -i html myfile.sgml then nothing changed. All the entries stay the same as if I never would habe a .dsl and a .ent file of my own. What might be the reason? P.S.: Do you have any idea how to force a lin-break? I don't want to have a Kapitel 1 This ist the title but i want to have a Kapitel 1 This is the title Tanks in advance! Hermann Flacke
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC