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]
Other format: [Raw text]

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.

Regards,
Gisbert Amm

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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