OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Docbook2rtf


----- Original Message ----- 
From: "Gisbert Amm" <gia@webde-ag.de>
To: "Jacques" <jacques@foucry.net>
Cc: "docbook-apps" <docbook-apps@lists.oasis-open.org>
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





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]