A newbie question
Hi, all,
I have a newbie question. Just installed docbook, jade, jadetex, sp etc.
packages. I copy a simple xml example, test.xml. Commands such
as docbook2dvi, docbook2html etc in the docbook-utils package works well
on the test.xml. But command jade outputs a lot of error messages as
below.
$ jade -t tex -V tex-backend -d \
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl \
/usr/lib/sgml/declaration/xml.dcl test.xml
jade:test1.xml:3:27:E: cannot find "dtd/3.1/docbookx.dtd"; tried
"dtd/3.1/docbookx.dtd", "/usr/local/share/sgml/dtd/3.1/docbookx.dtd",
"/usr/local/lib/sgml/dtd/3.1/docbookx.dtd",
"/usr/share/sgml/dtd/3.1/docbookx.dtd"
jade:test1.xml:3:27:E: DTD did not contain element declaration for
document type name
jade:test1.xml:4:13:E: element "article" undefined
jade:test1.xml:5:17:E: element "artheader" undefined
jade:test1.xml:6:17:E: element "title" undefined
jade:test1.xml:8:17:E: element "section" undefined
jade:test1.xml:9:17:E: element "title" undefined
jade:test1.xml:10:13:E: element "para" undefined
<snip>
It seems after package installation, I have to manually setup some
configurations. Could you explain how to set up in order to let command
jade work? Thank you very much for your help.
Qian
PS: the copied file test.xml
<?xml version="1.0"?>
<!DOCTYPE article PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1//EN"
"dtd/3.1/docbookx.dtd">
<article>
<artheader>
<title>My first XML document</title>
</artheader>
<section>
<title>My first section</title>
<para>My first paragraph.</para>
</section>
</article>
Reply to: