[USER] DocBook with non-English labels?
I'm trying to use DocBook (more exactly DocBk) for texts which are not in
English. Debian packages docbook-stylesheets and docbook-xml (and jade).
<http://nwalsh.com/docbook/dsssl/doc/custom.html#AEN187> gives a method which
does not work.
Following the above, I wrote a driver, 'francais.dsl', using the localized
files, which the docbook-stylesheets package put in
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/dbl1XX.dsl, where XX is
the language code. Here is 'francais.dsl':
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY dbstyle PUBLIC
"-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
<!ENTITY l10n SYSTEM "/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/db
l1fr.dsl" CDATA DSSSL>
]>
<style-sheet>
<style-specification use="l10n docbook">
<style-specification-body>
(define %generate-book-titlepage%
#f)
</style-specification-body>
</style-specification>
<external-specification id="docbook" document="dbstyle">
<external-specification id="l10n" document="l10n">
</style-sheet>
And I run it with:
jade -t tex -d francais.dsl /usr/lib/sgml/declaration/xml.decl simplebook.db
No error messages, the change in %generate-book-titlepage% is done, but the
labels are still in English.
Reply to: