[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [USER] DocBook with non-English labels?



On Wed, Jul 21, 1999 at 03:30:41PM +0200, Stephane Bortzmeyer wrote:
> 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.

the documentation isn't updated. Have a look at the attached .dsl
(should be part of docbook-stylesheets soon I hope :-).

 David.
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
 <!-- HTML by default -->
 <!ENTITY % print "IGNORE">
 <![ %print; [
  <!ENTITY % html "IGNORE">
  <!ENTITY docbook
           PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN"
           CDATA DSSSL>
 ]]>
 <!ENTITY % html "INCLUDE">
 <![ %html; [
  <!ENTITY docbook 
           PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN"
           CDATA DSSSL>
 ]]>
]>

<style-sheet>
<style-specification use="docbook">
<style-specification-body>

;; common customization can go here

  (define %default-language% "fr")

<![ %print; [

;; customize the print stylesheet here

]]>

<![ %html; [

;; customize the html stylesheet here

]]>

</style-specification-body>
</style-specification>

<external-specification id="docbook" document="docbook">

</style-sheet>

Reply to: