This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
DocBook, Openjade, & Windows
- From: Aaron Mulder <ammulder at alumni dot princeton dot edu>
- To: docbook at lists dot oasis-open dot org
- Date: Mon, 10 Feb 2003 15:44:49 -0500 (EST)
- Subject: DOCBOOK: DocBook, Openjade, & Windows
Thanks in part to your help, I'm happily using DocBook on Linux.
However, now others want to get involved and they're on Windows. I tried
to get the same set of stuff -- Openjade, the DocBook DSSSL stylesheets,
and the DocBook SGML DTD. I haven't done any customization whatsoever
to these tools, and I do something like this:
set PATH=c:\sgml\openjade-1.3.1\bin
set SGML_CATALOG_FILES=c:\sgml\docbook-sgml-dtd-4.0\docbook.cat
openjade -d c:\sgml\docbok-dsssl-1.77\html\docbook.dsl -t sgml -i html
document.sgml
When I run this on Windows, I get all kinds of errors, a selection
of which is below. Lots of errors from the DocBook stylesheets, and at
least one from my document (which I don't get on Linux). Then it appears
to print an ASCII version of my document to the standard output, with no
formatting and no HTML output. The last error seems to indicate that
something isn't expecting DSSSL at all. Any guidance would be
appreciated.
Thanks,
Aaron
------ Starts off with a complaint about the catalog:
:0:W: DTDDECL catalog entries are not supported
openjade:c:\sgml\docbook-sgml-dtd-4.0\docbook.cat:22:0:W: DTDDECL catalog entrie
s are not supported
------ Then a bunch of issues with various iso files:
openjade:c:\sgml\docbook-sgml-dtd-4.0\dbcent.mod:54:0:E: cannot open "c:\sgml\do
cbook-sgml-dtd-4.0\iso-amsa.gml" (No such file or directory)
openjade:E: cannot open "builtins.dsl" (No such file or directory)
openjade:c:\sgml\docbook-sgml-dtd-4.0\dbcent.mod:61:0:E: cannot open "c:\sgml\do
cbook-sgml-dtd-4.0\iso-amsb.gml" (No such file or directory)
openjade:c:\sgml\docbook-sgml-dtd-4.0\docbook.cat:22:0:W: DTDDECL catalog entrie
s are not supported
openjade:c:\sgml\docbook-sgml-dtd-4.0\dbcent.mod:68:0:E: cannot open "c:\sgml\do
cbook-sgml-dtd-4.0\iso-amsc.gml" (No such file or directory)
------ Then some weird ones from the stylesheet:
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:1:73:W: cannot generate sys
tem identifier for public text "-//James Clark//DTD DSSSL Style Sheet//EN"
cbook-sgml-dtd-4.0\iso-amsn.gml" (No such file or directory)
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:50:0:E: reference to entity
"STYLE-SHEET" for which no system identifier could be generated
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:1:0: entity was defined her
e
------ A bunch of "notation" issues:
openjade:c:\sgml\docbook-dsssl-1.77\html\../common/dbl10n.ent:100:0:E: notation
"DSSSL" for entity "dbl1es" undefined
openjade:c:\sgml\docbook-sgml-dtd-4.0\dbcent.mod:124:0:E: cannot open "c:\sgml\d
ocbook-sgml-dtd-4.0\iso-grk1.gml" (No such file or directory)
openjade:c:\sgml\docbook-dsssl-1.77\html\../common/dbl10n.ent:109:0:E: notation
"DSSSL" for entity "dbl1et" undefined
openjade:c:\sgml\docbook-sgml-dtd-4.0\dbcent.mod:131:0:E: cannot open "c:\sgml\d
ocbook-sgml-dtd-4.0\iso-grk2.gml" (No such file or directory)
openjade:c:\sgml\docbook-dsssl-1.77\html\../common/dbl10n.ent:307:0:E: notation
"DSSSL" for entity "dbl1uk" undefined
------ My document uses & for & which I thought was standard...
openjade:document.sgml:44:20:E: general entity "amp" not defined and no default
entity
------ More complaints about attributes and whatnot:
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:52:12:E: element "STYLE-SHE
ET" undefined
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:53:24:E: there is no attrib
ute "ID"
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:54:8:E: there is no attribu
te "USE"
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:54:131:E: element "STYLE-SP
ECIFICATION" undefined
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:56:25:E: element "STYLE-SPE
CIFICATION-BODY" undefined
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:200:27:E: there is no attri
bute "ID"
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:200:46:E: there is no attri
bute "DOCUMENT"
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:200:59:E: element "EXTERNAL
-SPECIFICATION" undefined
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:201:55:E: element "EXTERNAL
-SPECIFICATION" undefined
------ Now the end tag problems:
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:238:13:E: end tag for "EXTE
RNAL-SPECIFICATION" omitted, but its declaration does not permit this
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:236:0: start tag was here
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:238:13:E: end tag for "EXTE
RNAL-SPECIFICATION" omitted, but its declaration does not permit this
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:235:0: start tag was here
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:238:13:E: end tag for "EXTE
RNAL-SPECIFICATION" omitted, but its declaration does not permit this
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:234:0: start tag was here
openjade:c:\sgml\docbook-dsssl-1.77\html\docbook.dsl:238:13:E: end tag for "EXTE
RNAL-SPECIFICATION" omitted, but its declaration does not permit this
------ And last but not least...
openjade:E: specification document does not have the DSSSL architecture as a bas
e architecture