On Tue, Jul 30, 2002 at 09:28:07AM +0200, Guenter Milde wrote:
> 
> Do you know about gnu unrtf?
> 
>    UnRTF is a moderately complicated converter from RTF to other
>    formats, including HTML, LaTeX, text, and PostScript. Converting
>    to HTML, it supports tables, fonts, colors, embedded images,
>    hyperlinks, paragraph alignment among other things. All other
>    conversions are "alpha"--just begun.
> 

Thanks for this link. I downloaded unrtf. It didn't convert any of the
pictures in my RTF file successfully, which is too bad, because I had
thought of using just its picture-converting capability in my perl
script.

It also took about 6 times longer to process a 1.8 megabyte file as my
perl script. 

There are different versions of HTML. There is of course XHTML, which is
technically xml. If unrtf converted RTF to XHTML, then it would be very
easy to convert an RTF document to LyX, and preserve the styles. 

However, unrtf converts RTF to a version that is not even close to XML.
I think the author of this software would have to do a lot of work to
produce good, well-formed XML.

Perhaps if I try other RTF files, unrtf will be able to convert the
pictures. 

It seems like there is still a need for a utility to covnert RTF to XML. So I'll keep 
hacking away at my script!

Thanks

Paul

-- 

************************
*Paul Tremblay         *
*[EMAIL PROTECTED]*
************************

Reply via email to