[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Docbook and jade - setup failed/not complete - "is not a function name" errors - what is wrong?



Hi all,

I'm trying to use docbook to make my HOWTOs nice and pretty, however, my system install is flawed. (testing/unstable)

My XML is structurally OK. ( I also get the same errors with other's xml code). The only line possibly involved is:

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";>

I've begun to lose tract of all the packages I've installed in this process, but I do have (at least):
ii  docbook        4.2-3
ii  docbook-dsssl  1.78-4
ii  docbook-xml    4.2-12
ii  docbook-xsl    1.64.1.0-4.2
ii  jade           1.2.1-38
ii  jadetex        3.13-1
ii  sp             1.3.4-1.2.1-38
ii  sgml-base      1.21
ii  sgml-data      2.0.2
ii  kxmlrpc        3.1.5-1
ii  libxml++9      0.23.0-1.1
ii  libxml-parser- 2.34-3
ii  libxml-twig-pe 3.13-1
ii  libxml-writer- 0.500-1
ii  libxml1        1.8.17-5
ii  libxml2        2.6.7-1
ii  libxmltv-perl  0.5.29-1
ii  python-xml     0.8.3-5
ii  python2.3-xml  0.8.3-5
ii  xml-core       0.07

The /usr/share/doc/docbook-xml readme gives a link to http://www.debian.org/doc/manuals/sgml-howto/ which says to compile html with the command

jade -t tex -V tex-backend \ -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl \
                /usr/lib/sgml/declaration/xml.dcl myfile.db

However, my system does not have the /usr/lib/sgml/declaration folder





running $nsgmls -s -wxml my.xml

results in:
nsgmls:/usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd:112:15:W: named character reference
nsgmls:/usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd:112:17:E: "X20AC" is not a function name
nsgmls:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:40:17:W: named character reference
nsgmls:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:40:19:E: "X21B6" is not a function name
nsgmls:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:41:17:W: named character reference
nsgmls:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:41:19:E: "X21B7" is not a function name

and $jade -t sgml -d \
/usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl my.xml

results in :
jade:/usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd:112:17:E: "X20AC" is not a function name
jade:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:40:19:E: "X21B6" is not a function name
jade:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:41:19:E: "X21B7" is not a function name



Any ideas?

Thanks,
Peter



Reply to: