I'm trying to write simple sgml files like the one in 

http://www.tldp.org/HOWTO/Linuxdoc-Reference-3.html

and I cannot use the sgmltools to produce the approprite result. I get
the following error/warning messages:

$ sgmltools test.sgml 
/usr/bin/openjade:<OSFD>0:1:25:W: cannot generate system identifier for
document type "LINUXDOC"/usr/bin/openjade:<OSFD>0:1:25:E: reference to
entity "LINUXDOC" for which no system identifier could be
generated/usr/bin/openjade:<OSFD>0:1:0: entity was defined
here/usr/bin/openjade:<OSFD>0:1:25:E: DTD did not contain element
declaration for document type name/usr/bin/openjade:<OSFD>0:2:6:E:
element "NOTES" undefined/usr/bin/openjade:<OSFD>0:3:6:E: element
"TITLE" undefined/usr/bin/openjade:<OSFD>0:4:2:E: element "P" undefined
/usr/bin/openjade:<OSFD>0:4:12:E: element "EM" undefined
/usr/bin/openjade:<OSFD>0:5:2:E: element "P" undefined
/usr/bin/openjade:<OSFD>0:5:6:E: element "BF" undefined
/usr/bin/openjade:<OSFD>0:6:9:E: no document element

The file test.sgml is:
$ cat test.sgml 
<!doctype linuxdoc system>
<notes>
<title>A Small Linuxdoc Example</title>
<p>Hello <em>world</em>.</p>
<p><bf>Here</bf> we are.</p>
</notes>

Some info that may help you identify the problem:
$ qpkg -I -v sgml
app-text/docbook-sgml-dtd-4.1-r1 *
app-text/sgml-common-0.6.3-r4 *
app-text/docbook-sgml-utils-0.6.12 *
app-text/docbook-sgml-1.0 *
app-text/sgmltools-lite-3.0.3-r6 *
app-text/docbook-sgml-dtd-3.0-r1 *
app-text/docbook-sgml-dtd-3.1-r1 *
app-text/docbook-sgml-dtd-4.0-r1 *
app-text/docbook-sgml-dtd-4.2 *

$ qpkg -I -v jade
app-text/openjade-1.3.2-r1 *
app-text/jadetex-3.12 *

Thanks in advance!

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to