Re: TextEdit and latex2rtf

"Scott Prahl" <[email protected]> Tue, 16 Mar 2004 13:38:39 -0800
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
Hi Wilfried,


On Mar 16, 2004, at 1:02 AM, Wilfried Hennings wrote:

> Hello all,
> I think we finally found what's the reason.
> There are some things to be fixed in latex2rtf, and these bugs are 
> already present in version 1.9.15 (shame I didn't find them before we 
> released 1.9.15):
> 1.) Font table starts with \f3. \f0 to \f2 are missing. \f0 should be 
> the default font.

This is not in the specification.  Some versions of Word start with 
non-zero values.
However, there is no good reason that it does not start with zero.   
This is left over
from some horrible debugging session.  I will fix this.

> 2.) In the text section of the rtf output, no default font is 
> specified. Add an \f0 to the first line of the text section (starting 
> with \paperw...).

I will look into this as well.

> 3.) In the specification of the normal style the font is missing.

What should it be?

> 4.) style table is output in non-ascending order, different from the 
> order in styles.cfg

Why is this a problem?  I would rather not mess with that code since it 
is one of those
areas of code that has been there "from the dawn of time"

> 5.) The default font on Mac seems to be "Times-Roman" while on PC it 
> is "Times New Roman". On PC, even Word(2000) doesn't recognize 
> "Times-Roman" and substitutes it with "Arial". Maybe we should go back 
> to the pre-1.914 fonts.cfg which read:
>
> Roman,Times.
> Typewriter,Courier.
> Slanted,Helvetica.
> Sans Serif,Helvetica.
> Calligraphic,Zapf Chancery.
> Dummy,Symbol.
> Dummy2,MT Extra.
> Roman1,Palatino.
> Roman2,Bookman.
> Roman3,Avant Garde.
> Roman4,New Century Schoolbook.
>
> so the font names don't exactly match the names on either PC or Mac 
> but at least are correctly substituted on both - which however has to 
> be tested.

I like this.  The Adobe names are pretty universal.

Thanks for tracking this problem down.

Scott



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click