docbook: Help! Problem compiling LDP SGML with OpenJade +Tools
Subject:
Re: Help! Problem compiling LDP SGML with OpenJade +Tools
From:
Alexander Bartolich ####@####.####
Date:
13 Jul 2002 14:17:34 -0000
Message-Id: <3D303255.9060308@gmx.at>
Ol Dirty wrote:
> [...] i downloaded a new SGML source from www.tldp.org,
> it starts with Article.
This is not the criteria.
> [... cannot generate system identifier for public text
> "-//Davenport//DTD DocBook V3.0//EN"
^^^^
This is the crucial point.
The catalog system maps public identifiers, i.e. symbolic names,
to system identifiers, i.e. actual file names. On my RedHat 7.2
installation is a directory
/usr/share/sgml/docbook/sgml-dtd-3.0
and in there a file 'catalog' that contains this line:
PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
This statement maps the public identifier (first string) to
the system identifier (second string). Since the second
string does not contain a / it is located in the same directory.
And the file
/usr/share/sgml/docbook/sgml-dtd-3.0/docbook.dtd
even contains this comment:
<!-- This is the driver file for Version 3.0 of the DocBook DTD.
Please use the following formal public identifier to identify it:
"-//Davenport//DTD DocBook V3.0//EN"
I don't remember which version of the DocBook DTD you installed,
but probably you are missing the ancient 3.0. Install that DTD
version and reference its catalog from your master catalog.
> [...] i also moved ldp.dsl to docbook-dsssl/,
This is a matter of taste.
> and edited the two docbook.dsl entries to html/docbook.dsl and
> print/docbook.dsl respectively (that has to be done as well right ?)
Correct.
--
post tenebras lux. post fenestra tux.