Re: [docbook-apps] Docbook2rtf

From
"[auritz Keanson"
Date
2004-07-14T18:32:12+00:00
ID
005701c469d1$dd9dbc80$
Thread
Re: [docbook-apps] Docbook2rtf
----- Original Message ----- 
From: "Gisbert Amm" <>
To: "Jacques" <>
Cc: "docbook-apps" <>
Sent: Wednesday, July 14, 2004 7:35 PM
Subject: Re: [docbook-apps] Docbook2rtf

> Jacques wrote:
> > Hello,
> > 
> > I tried to generate rtf form my xml/docbook source, For that, I use
> > openjade with the command line :
> > 
> > % openjade -t rtf -d \
> > /Volumes/Download/docbook-dsssl-1.78/print/docbook.dsl Installation.xml
> > 
> > And the result is not really... great.
> > 
> > I have a lot of error like : 
> > 
> > openjade:Installation.xml:145:52:E: element "PARA" undefined
> > 
> > It seems because of that : openjade:Installation.xml:2:113:E: cannot
> > open
> > "file:///Applications/eclipse/plugins/com.oxygenxml.editor_4.1_E3/
> > docbook/dtd/docbookx.dtd" (No such file or directory)
> > 
> > But the file exist and is readable.
> > 
> > (I tried with file:/Application..... but the result is the same).
> > 
> > The accents are "strange " (ie : é for é)
> > 
> > The page number in the ToC are all to 000
> > 
> > And my images are not included.
> > 
> > If there's any links or help...
> 
> Since openjade originally was made for SGML processing you have to tell 
> it something about XML invoking the xml.dcl file like that (in your 
> environment):
> 
> % openjade -t rtf -d \
>   /Volumes/Download/docbook-dsssl-1.78/print/docbook.dsl \ 
> /Volumes/Download/docbook-dsssl-1.78/dtds/decls/xml.dcl Installation.xml
> 
> Then your output should look a bit better.

And note that "file:" URIs do not work with OpenJade. Use a regular file path for the 
DTD location:"/Applications/eclipse/...".

/MJ