>Date: Wed, 21 Feb 2001 14:02:13 +0000
>From: "Flip ter Biecht" <[EMAIL PROTECTED]>
>Subject: Re: mime.cfg stuff...

>> Version 1.8 of martha.com is brand-new... 13 Feb, 2001
>> http://www.cena.dgac.fr/~sagnier/info/formats/conversions/martha_a.htm
>
>How do you get this to work?
>(I tried adding to mime.cfg and replacing the default declarations and
>creating one for file/*.rtf and file/.rtf; none works...
>
>Martha18 is not to consequent in creating internal links to headers, but
>I was looking for a way to convert word97 docs via rtf to html because
>some people just don't understand they shouldn't assume everyone uses
>their system and keep attaching those docs. Free ms-word97 viewer can't 
>do anything more than allow "select all" and "copy". Word6.0 then makes 
>the rtf, without which I would have to do all layouting again in
>netscape composer.

Hi Bart, 

There are lots of programs that can reduce RTF to TXT. As far as I
only want to *read* rtf, it will be ok. to add one of these programs
(eg. view.exe) into mime.cfg.

Preserving the formatting information and putting it to HTML code is
more difficult. As far as I know, currently, there are these three
multi-platform projects: 

1. Logictran RTF Converter (was: RTFtoHTML)
   http://www.logictran.com/index.html

This is useful if you produce your own rtf-texts and want to 
convert them to web pages. 

The programming seens to have completely moved to Windows. I have
been using an abandoned DOS version to convert my own formatted
texts from MS-Word (Word for DOS!). The programmers payed high
attention to converting MS-Word's style sheets into HTML code. You
can add a style sheet to your Word document which has a double
effect: If you print it out, you get a standardized layout, and if
you convert it to HTML you get certain HTML-tags inserted. This
feature is highly customizable, though a bit complicated. I used it
like a compiler under dosshell: one screen runs MS-Word, the other
one Arachne.

There are two binaries available, one 16bit and one 32bit. As I am
using East European code page under DOS the output has still to 
be converted to ISO-8859-2. Meanwhile I have abandoned this method, 
because on my PC386 it was rather slow, and I finally started to 
write real HTML with tables, styles and all that stuff. 

2. Martha RTF to HTML converter
   http://www.cena.dgac.fr/~sagnier/info/formats/conversions/martha_a.

MARTHA - a French program with a very good rendering of 
tables and runs quite fast. Unfortunately it is completely
useless if it comes to East European Character sets. 


3. Dox - RTF/HTML/TXT
   http://users.hunterlink.net.au/~mabatp/dox/download.html

This is the most interesting program. It truely translates even East
European characters, but puts them into #NNN; entities. As I am not a
programmer, I decided to use this one for displaying RTF in Arachne
and Pegasus Mail. For Czech rtf-code coming from Windows I use this
four step patch: 

        a) replace the rtf tag "\~" with &nbsp;
        b) run dox.exe (version 2.50)
        c) replace entities (&#NNN;) with 8bit code
        d) convert codepage cp1250 to iso-8859-2

I think even if you do not have the specific East European codepage 
problem, the last program will fit to your needs best. 

Regards, Christof Lange

_______________________________________________

 Christof Lange <[EMAIL PROTECTED]>
 Prokopova 4, 130 00 Praha 3, Czech Republic
 phone: (+420-2) 22 78 18 00 / 22 78 20 02, telefax: 22 78 18 01 
 http://www.volny.cz/cce.zizkov


Reply via email to