Re: DOCBOOK-APPS: Transforming DocBook/XML with jade on Win32

From
Bli Raffari
Date
2000-11-24T21:53:38+00:00
ID
Thread
Re: DOCBOOK-APPS: Transforming DocBook/XML with jade on Win32
Hi Together!

I had the same problem and obviously many others two. Here is a really
good answer from Laurent. It works well on my system. 

Is there any page with FAQ's about DocBook processing with XSL- and
DSSSL-Stylesheets? Maybe this should go into there? If there is isn't
any FAQ-Page, I would offer to do one and publish it on my homepage.
Everyone is free to send me any FAQ he/she want's (maybe directly 
encoded in DocBook). 

BTW: I coudn't find any search formular for the Mailing-List-Archives
on the Oasis-Open page. Is there any possibilty to search them or
do I have to read all of them and look for what I am searching for.

Ciao,

Ali.

-------- Original Message --------
Subject: Re: DOCBOOK-APPS: XSL for RTF or Word!!
Date: Mon, 20 Nov 2000 09:18:16 +0100
From: Laurent Pointal <>
To: Ali Saffari <>
References: <> <>

At 18:24 18/11/2000 +0100, you wrote:

>Hi!
>
> > AFAIK for XSL not. But you can use DSSSL stylesheets for DocBook also
> > with XML documents. DSSSL stylesheets are available at
> > http://www.nwalsh.com and you will also need DSSSL processor jade
> > available at http://www.jclark.com.
> >
>
>I've followed the intruction in xml.htm for using jade like this

xml.htm give informations which are not all right, by example you should 
not use -wxml for producing outputs (maybe only for validating with nsgmls).

>But I still get a lot of error messages like this:
>
>..
>jade.exe:..\..\src\../docBook/ent/iso-amso.ent:21:15:E: "X24C8" is not a
>function name
>jade.exe:..\..\src\../docBook/ent/iso-amso.ent:22:19:E: "X210F" is not a
>function name

I write errors to a file, I get same errors as you, but the output is good.

Here my reply in discussion "DOCBOOK-APPS: Re: docbook, dsssl, and jade 
installation", I describe my full installation, which works correctly 
(except the indicated errors but they have no effect for me).
=======================================================================
Date: Mon, 13 Nov 2000 09:39:45 +0100
From: Laurent Pointal <>
Subject: DOCBOOK-APPS: Re: docbook, dsssl, and jade installation
In-reply-to: <
l.com>
X-Sender: 
To: Khalid Khidhir <>,
     
Message-ID: <>
MIME-Version: 1.0
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: BINARY
List-Owner: <mailto:>
List-Post: <mailto:>
List-Subscribe:
     <mailto:?body=subscribe>
List-Unsubscribe:
     <mailto:?body=unsubscribe>
List-Archive: <http://lists.oasis-open.org/archives/docbook-apps>
List-Help: <http://lists.oasis-open.org/doc/email-manage.html>,
     <mailto:?body=help>
X-MX-Comment: QUOTED-PRINTABLE message automatically decoded

At 16:54 10/11/2000 -0500, you wrote:

>Hi,
>I am having some problem installing jade, dssl and docbook, I would like 
>to know if
>anyone who has these installed correctly, can send me the contents of the
>catalog files and what the environment variables contain,
>I want to compare them to what I have and may be figure out what I am doing
>wrong.
>Thanks
>Khalid

Under Windows NT 4 (but this may not influence global configuration):
DocBook XML 4.1.2
DocBook DSSSL 1.5.8 (with dbl1zhcn.ent, dbl1zhcn.dsl and dbl1hu.ent 
modified by N.Walsh, which will be part of 1.5.9 - sent separately of the 
list post).
Jade for Window 1.2.1

Currently I type all my XML files with Unicode-UTF8 encoding (SC Unipad on 
Windows NT, nice for Unicode).
My environment variables are:
         SGML_CATALOG_FILES=o:\tools\doctools\catalogs.txt
         SP_CHARSET_FIXED=YES
         SP_ENCODING=xml
(note: I tried SP_ENCODING=XML (uppercase) and it gives me few problems 
with HTML output, where automatically generated strings (bottom of page 
with "Next"/"Previous" in french "Suivant"/"Pr嶰嶮ent" has diacritics in 
ISO encoding while my text has diacritics in UTF8 encoding).

After a long email exchange with Norman Walsh, my catalog file finally only 
contain:
         CATALOG "o:\tools\doctools\jade\catalog"
         CATALOG "o:\tools\doctools\docbook\docbook.cat"
(I put them into a text file and make this text file my catalog file - this 
allow to easily change catalog without having to change SGML_CATALOG_FILES 
environnement variable when doing tests).

I have defined two batch files to call jade with the right options,
docrtf.bat:
<<
@echo Generation du .rtf a partir du .xml (DTD DocBook) et avec jade
jade -t rtf -f error.log -d 
O:\tools\doctools\DocBookDSSSL\print\docbook.dsl 
O:\tools\doctools\DocBookDSSSL\dtds\decls\xml.dcl %1
 >>

And dochtml.bat:
<<
@echo Generation du .html a partir du .xml (DTD DocBook) et avec jade
jade -t sgml -f error.log -i html -d 
O:\tools\doctools\DocBookDSSSL\html\docbook.dsl 
O:\tools\doctools\DocBookDSSSL\dtds\decls\xml.dcl %1
 >>

Finally, the last unresolved problem (but which has no effect for me as I 
use UTF8 encoding characters, the output is good) is a list of errors like:
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:6:19:E: "X00E1" is not a 
function name
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:7:19:E: "X00C1" is not a 
function name
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:8:18:E: "X00E2" is not a 
function name
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:9:18:E: "X00C2" is not a 
function name
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:10:19:E: "X00E0" is not a 
function name
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:11:19:E: "X00C0" is not a 
function name
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:12:18:E: "X00E5" is not a 
function name
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:13:18:E: "X00C5" is not a 
function name
jade:o:\tools\doctools\docbook\ent/iso-lat1.ent:14:19:E: "X00E3" is not a 
function name
..

Hope this help.

A+

Laurent.

---
Laurent POINTAL - CNRS/LURE - Service Informatique Experiences
Tel/fax: 01 64 46 82 80 / 01 64 46 41 48
email  :   ou  
=======================================================================

A+

Laurent.