[OS X TeX] TeX to word on Mac

George Ghio ghiog at netconnect.com.au
Sun Jun 26 19:59:44 EDT 2005


Hi Herb

Interesting, but I can't find an "engines" folder. I Suspect it is 
hidden. Also I use iTeXMac. I don't mind using TeXshop if required. Can 
I change the "engine" using the terminal?

George L Ghio
On 27/06/2005, at 12:04 AM, Herbert Schulz wrote:

>
> On Jun 25, 2005, at 11:49 PM, George Ghio wrote:
>
>>
>> Open terminal and type;
>>
>> Welcome to Darwin!
>> George-Ghios-Computer:~ georgeghio$ cd /Users/georgeghio/Desktop/TeX
>>
>> Hit return & type
>>
>> George-Ghios-Computer:~/Desktop/TeX georgeghio$ htlatex 
>> /Users/georgeghio/Desktop/TeX/TheFlight.tex
>>
>> Hit return I then get the html file,
>>
>> I then open the html file with Explorer,
>>
>> Select all,
>>
>> Copy,
>>
>> Paste into word.
>>
>> If I try to open the html file with word  MS does what it does best 
>> and crashes.
>>
>> Oh well, it works and I end up with a word document.
>>
>> Thank you and everyone else for taking the time to keep me from 
>> becoming a basket case.
>>
>> George L Ghio
>>
>
> Howdy,
>
> Now that you know how to do it in terminal, here's a way to do it from 
> within TeXShop.
>
> Go to the ~/Library/TeXShop/Engines/ folder (~ is your HOME directory) 
> and duplicate one of the .engine files there. Rename it htlatex.engine 
> and open it up (double clicking will open it up in TeXShop). Remove 
> the contents of the file and put the following lines into that file:
>
> #!/bin/bash
> htlatex "$1"
>
> and save the file (again in ~/Library/TeXShop/engines and with the 
> name htlatex.engine).
>
> At the beginning of any .tex file you want to be processed with 
> htlatex put the line
>
> %!TEX TS-program = htlatex
>
> and then process the file with Cmd-T (Typeset). As an alternative you 
> can simply choose the htlatex engine in the dropdown menu in the 
> toolbar.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)
>
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list