[OS X TeX] latex2rtf question

Bob Kerstetter bkerstetter at mac.com
Tue Mar 30 14:05:05 EST 2004


Try this way for converting LaTeX to Word.

htlatex filename "html,3.2,1"

or

htlatex filename "html,4,1"


This calls TeX4ht. It converts your LaTeX file to HTML (3.2 or 4), 
graphics included, as long as your graphics are not pdf's. I have very 
good experience using png's for graphics.

Then open the resulting filename.html using Word.

Save the document as a Word doc and your done.

I don't do math and have not ever tried this with equations, but am 
told TeX4ht converts them to graphics.

TeX4ht was once in an i-installer package. But comments on this list 
seem to indicate TeX4ht is now part of GW's main TeX package, which is 
a good thing.

This appears to keep much of the formatting.


On Mar 30, 2004, at 11:29 AM, Robert Lyons wrote:

> ok, i got it working, I did not know the full path and I thought that 
> it would be available like the other command line latex programs are, 
> but now I have another question.
>
> When you convert a latex file to rtf, it looses all of its formatting. 
> To me that defeats the purpose. The olny reason thta I would use this 
> utility would be to give my writing to someone who will not take 
> anything but a word file, but if I have to go back in and re-format, 
> that is just to much work.
>
> Ar there any other alternatives to this, or will i e forced to go 
> through the pain?
>
> Thanks for all of your help,
> Robert
>
> On Tuesday, March 30, 2004, at 12:22PM, Adam Maxwell 
> <amaxwell at wsu.edu> wrote:
>
>>
>> On 30 Mar, 2004, at 11:10, Robert Lyons wrote:
>>
>>> Even though I have installed at re-installed this program it still
>>> does not seem to be running at all on my system.
>>
>> Try typing in the full path to the program in Terminal
>> `/usr/local/bin/latex2rtf yourfilename.tex` and see if that helps.
>> Also in Terminal, try `ls -l /usr/local/bin/latex*` and send us the
>> output.  Perhaps it's a path issue.
>>
>>> Is their an alternate place to get the file from other than
>>> i-installer?
>>
>> Yes, from <http://latex2rtf.sourceforge.net/>, but you will need
>> Apple's Developer Tools installed to compile it.
>>
>> -- 
>> Adam
>>
>> -----------------------------------------------------
>> Please see <http://www.esm.psu.edu/mac-tex/> for list
>> guidelines, information, and LaTeX/TeX resources.
>>
>>
>>
>>
> -----------------------------------------------------
> Please see <http://www.esm.psu.edu/mac-tex/> for list
> guidelines, information, and LaTeX/TeX resources.
>
>

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list