Re: TextEdit and latex2rtf
Wilfried Hennings <[email protected]> Tue, 16 Mar 2004 10:02:00 +0100
| Newsgroups | gmane.comp.tex.latex.latex2rtf.devel |
|---|---|
| Message-ID | <5.1.1.6.0.20040316094520.025b36d0@localhost> |
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.
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...).
3.) In the specification of the normal style the font is missing.
4.) style table is output in non-ascending order, different from the order
in styles.cfg
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.
Wilfried
At 15.03.2004 01:26, Adam Maxwell wrote:
>The following sample, when run through latex2rtf, produces good results in
>Word X (Mac OS X, 10.3.2). When the rtf file is opened in TextEdit, the
>text is all plain Helvetica; no bold, italic, or emphasis. Is this an
>Apple bug? I've tried playing with fonts.cfg to no effect.
>
>If I have a file with a bibliography in it, the word References (section
>heading) is bold in TextEdit (although the font is still Helvetica). This
>seems strange.
>
>-- cut here --
>
>\documentclass{article}
>\pagestyle{empty}
>
>\begin{document}
>\textbf{Bold}\\
>\textit{Italic}\\
>\emph{Emphasized}
>\end{document}
-------------------------------------------------------
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