This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

installation help


On a RH7.1 system, I've done the following.
 
I've installed docbook 4.1.2 inside the following directory.
   /usr/local/sgml/docbook/4.1.2
 
I've also set my SGML_CATALOG_FILES env variable to the following.
   /usr/local/sgml/docbook/4.1.2/docbook.cat:/usr/share/doc/openjade-1.3/catalog
 
Here's my tst.sgm file.
---
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<book>
<bookinfo>
<title>Test</title>
</bookinfo>
<chapter>
<title>Hello, world</title>
<para>This is my first docbook file.</para>
</chapter>
</book>
I found a docbook.dsl file in this dir already on my system (but don't see where I'm supposed to find a newer one).
   /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl
 
Running the following command produces this output.
---
cassia(projX):~/docs$ nsgmls -sv tst.sgm
nsgmls:I: OpenSP version "1.3.4"
 
And running this command does the following:
(Note: I saw the section in the docs that talked about a bad SGML_CATALOG_FILES var, but I couldn't see past this as I checked it serveral times).
---
cassia(build):~/docs$ jade -t sgml -d /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl tst.sgm
jade:tst.sgm:1:54:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.1//EN"
jade:tst.sgm:1:54:E: reference to entity "BOOK" for which no system identifier could be generated
jade:tst.sgm:1:0: entity was defined here
jade:tst.sgm:1:54:E: DTD did not contain element declaration for document type name
jade:tst.sgm:3:5:E: element "BOOK" undefined
jade:tst.sgm:5:9:E: element "BOOKINFO" undefined
jade:tst.sgm:6:6:E: element "TITLE" undefined
jade:tst.sgm:9:8:E: element "CHAPTER" undefined
jade:tst.sgm:10:6:E: element "TITLE" undefined
jade:tst.sgm:12:5:E: element "PARA" undefined
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:1:73:W: cannot generate system identifier for public text "-//James Clark//DTD DSSSL Style Sheet//EN"
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:249:0:E: reference to entity "STYLE-SHEET" for which no system identifier could be generated
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:1:0: entity was defined here
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:249:0:E: DTD did not contain element declaration for document type name
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:150:0:E: notation "DSSSL" for entity "dbl1pt" undefined
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:60:0:E: notation "DSSSL" for entity "dbl1el" undefined
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:69:0:E: notation "DSSSL" for entity "dbl1en" undefined
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:78:0:E: notation "DSSSL" for entity "dbl1es" undefined
jade:/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl:105:0:E: notation
 
 
Any help much appreciated.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]