[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: installation help
Re: DOCBOOK: installation helpWell, I matched up the doctype declaration to 4.1.2 so my tst.sgm file now starts as follows: <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1.2//EN"> And my catalog is the 4.1.2 docbook.cat which is in my SGML_CATALOG_FILES var. I didn't understand your mention of the 4.1.2 dtd, but I do have another (probably non-important) question. Is there supposed to be a 4.1.2 docbook.dsl that I need to update somewheres? I'm just using the one I already found on my system (as shown below in the -d param). cassia(build):~/docs$ jade -t sgml -d /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl tst.sgm jade:tst.sgm:1:56:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.1.2//EN" jade:tst.sgm:1:56: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:56: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 ... TIA, ----- Original Message ----- From: Carlos To: Docbook Sent: Wednesday, August 29, 2001 11:03 PM Subject: Re: DOCBOOK: installation help If I remember correctly, your doctype declaration and your catalog entry do not match... The doctype says Docbook 4.1 and your catalog says 4.1.2 Also the 4.1.2 DTD is XML only, I may be wrong on this, but that may also be the cause of your problems. Carlos Once upon a time, "G.L. Grobe" was seen writting: 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/catalo g 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. -- --- P |Carlos Araya _ |WebCT Administrator/Trainer G |California Virtual Campus, Region 1 ---- C/O De Anza College 10650 Bubb Road Cupertino, CA 95014 mail: carlos@cvc.edu web: http://www.cvc1.org (work) http://www.silverwolf-net.net (personal) PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 To a disciple who was forever complaining about others the Master said, "If it is peace you want, seek to change yourself, not other people. It is easier to protect your feet with slippers than to carpet the whole of the earth." -- Anthony de Mello, SJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC