Pete J. wrote:
Thanks for the response. I downloaded your XSL utility tool and the
problems with the headers went away. So at least we know that is a
solvable problem. You were also correct about Word needing to update the
page references.

You're welcome.



I am still having problems with the SVG figures though. I
have attached a copy of a page of the document rendered in PDF with XEP. I
used your utility to call XEP in this case so I could eliminate any issues
with stylesheets. I have also attached the SVG file in case you wanted to
try on your own to look at the problem.

I'm sorry but I cannot reproduce any problem using your SVG file. See attached screenshot of MS-Word 2007.

Please note that the RTF and DOCX we generate is not intended to be opened in any wordprocessor other than MS-Word. If you opened the RTF in say, OpenOffice, Pages, TextEdit, etc, then this RTF is guaranteed to be displayed incorrectly.

Attached files (NOT ATTACHED FOR CONFIDENTIALITY REASONS):

* test_svg.xml (a DocBook 4 section)
* amp_control_bd.svg (your SVG file)
* test_svg.pdf (generated using FOP, not XEP; though we also have XEP)
* test_svg.rtf
* test_svg.docx

I used latest XMLmind XSL Utility Professional Edition in order to generate the above files.




It¹s too bad that there is no DocBook stylesheet which would allow the
generation of paragraph styles in the RTF output.

In my application we have a lot of generated documentation and it would be
nice to integrate that better with Word. We use DocBook but are not really
wedded to that idea. I have looked some at DITA but don¹t have much
familiarity with it. Do you have any recommendations about ways we could
go from XML to RTF in a way that would maintain paragraph styles and use
existing stylesheets?


No, this is definitely not possible.

Note that the DITA stylesheets have exactly the same problem as the DocBook stylesheets: they have not been designed from the ground up to generate named styles.

Our customers (banks, insurance companies, pharmaceutical companies, legal publishers) who consider generating RTF or DOCX files containing named styles do not use DocBook or DITA at all. They use proprietary document types, much smaller and much simpler than DocBook and DITA. Rewriting their proprietary XSL stylesheets, much smaller and much simpler than DocBook's and DITA's, in order to generate named styles does not seem to be a problem.



--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to