Subject: Docbook stylesheet customization problem From: Jose Maria Lopez Lagunas <jmlopez@xxxxxxxxxxx> Date: Tue, 13 Oct 1998 12:25:29 +0100 |
Hi. I've trying to make a Spanish localized version for DocBook Style sheet 1.13 but I'm having some errors. I've done as it's explained in the documentation. Here's my customized style sheet: ------------------------ jmlopez-docbook.dsl -------------------------------- <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY dbstyle SYSTEM "/jmlopez/sgml/docbook/html/docbook.dsl" CDATA DSSSL> <!ENTITY l10n SYSTEM "dbl1es.dsl" CDATA DSSSL> ]> <style-sheet> <style-specification use="l10n docbook"> <style-specification-body> ;; My own customized code ... </style-specification-body> </style-specification> <external-specification id="docbook" document="dbstyle"> <external-specification id="l10n" document="l10n"> </style-sheet> ------------------------ jmlopez-docbook.dsl -------------------------------- The file dbl1es.dsl is defined the same way the other localized files in the Docbook Stylesheet distribution are. When I try to use it with jade this is the result: Command: jade -t sgml -d \jmlopez\sgml\jmlopez-docbook.dsl document.sgml Output: jade:\jmlopez\sgml\dbl1es.dsl:1:0:E: character ";" not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:10:0:E: character ";" not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:20:0:E: character "(" not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:26:4:E: character """ not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:34:4:E: character "(" not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:43:5:E: character """ not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:48:5:E: character """ not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:53:4:E: character "(" not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:60:4:E: character "(" not allowed in prolog jade:\jmlopez\sgml\dbl1es.dsl:67:0:E: this is not an SGML document jade:\jmlopez\sgml\dbl1es.dsl:67:0:E: cannot continue because of previous errors jade:E: specification document does not have the DSSSL architecture as a base architecture I think I have the correct settings of catalog files, DTD's, etc. Moreover, if I test the file with nsgmls -s jmlopez-docbook.dsl I get no errors. The only way I get no errors is by means of including the file dbl1es.dsl in the customized stylesheet. I hope someone can help me. Thank you in advance. -- Jose Maria Lopez Lagunas Universidad Politecnica de Valencia DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Jade 1.2.1 is now available, James Clark | Thread | Re: Docbook stylesheet customizatio, Norman Walsh |
Jade 1.2.1 is now available, James Clark | Date | SUBDOCs....Still, Chuck Darney |
Month |