This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: many errors from jade


Two comments. You will need to make sure that the xml.dcl file is being
added to you commandline before your source.

And, if the tools are calling Jade you will have to add the SGML entities
files to a catalog file.

Below is the line I use in a script to process my DocBook.xml files.

jade -t rtf -d d:\XML\sgml\stylesheets\db173\print\docbook.dsl
d:\XML\openjade-1.3\pubtext\xml.dcl %1

> -----Original Message-----
> From: Michael D. Crawford [mailto:crawford@goingware.com]
> Sent: Wednesday, 7 November 2001 9:35
> To: docbook-apps@lists.oasis-open.org
> Subject: DOCBOOK-APPS: many errors from jade
> 
> 
> Hi,
> 
> I've been wanting to learn DocBook for a long time now so I 
> could write the 
> programmers manual for ZooLib (http://zoolib.sourceforge.net/).
> 
> I recently installed Debian PowerPC on my Mac and was pleased 
> to see that Debian 
> offerred a lot of the docbook tools as install options.
> 
> I created a DocBook XML file using Emacs and psgml, and it 
> validates OK with
> M-x sgml-validate.  But when I try to use either "db2html test.xml" or
> "sgmltools --backend=html test.xml" I get many repetitions of 
> the following 
> error, each with a small variation:
> 
> /usr/bin/jade:/usr/lib/sgml/entities/iso-amsr.ent:7:18:E: 
> "X224D" is not a 
> function name
> 
> And no HTML output is produced.
> 
> I don't know the first thing about how I would diagnose this.
> 
> Here is my file test.xml:
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE book PUBLIC "-//Norman Walsh//DTD DocBk XML V3.1.3//EN"
>   "http://nwalsh.com/docbook/xml/3.1.3/db3xml.dtd"; [
> <!ENTITY mdc "Michael D. Crawford">
> <!ENTITY chap1 SYSTEM "chap1.xml">
> ]>
> 
> <book>
>    <title>My First Book"</title>
>    &chap1;
> </book>
> 
> 
> And the file chap1.xml which is included as an entity.  The 
> "Local Variables" 
> comment at the bottom instructs psgml to connect this file 
> with the parent document:
> 
> 
> <chapter><title>The First Chapter</title>
>    <para>The first paragraph</para>
>    <para>The second paragraph</para>
> </chapter>
> 
> <!--
> Local Variables:
> sgml-parent-document: ("test.xml" "book" "chapter")
> End:
> -->
> 
> Thanks for any help you can give me.
> 
> Mike
> -- 
> Michael D. Crawford
> GoingWare Inc. - Expert Software Development and Consulting
> http://www.goingware.com
> crawford@goingware.com
> 
>    Tilting at Windmills for a Better Tomorrow.
> 
>      "I give you this one rule of conduct. Do what you will, but speak
>       out always. Be shunned, be hated, be ridiculed, be scared,
>       be in doubt, but don't be gagged."
>       -- John J. Chapman, "Make a Bonfire of Your Reputations"
>          http://www.goingware.com/reputation/
> 
> 
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>
> 

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]