[OS X TeX] texti2html

Bob Kerstetter bkerstetter at mac.com
Mon May 23 22:16:13 CEST 2005


On May 23, 2005, at 2:27 PM, Tim Brophy wrote:

>
> On 21 May 2005, at 21:32, Bob Kerstetter wrote:
>
>
>>
>> On May 21, 2005, at 9:25 AM, Google Kreme wrote:
>>
>>
>>
>>>
>>> I am trying to convert a LaTeX file into html, and though I could  
>>> use the texi2html command from the terminal.  However:
>>>
>>> % texi2html myfile.tex
>>> ** empty document
>>> % texi2html -l2h myfile.tex
>>> ** empty document
>>> %
>>>
>>>
>>
>>
>> try:
>>
>> htlatex yourlatexdoc  "html"
>>
>> this runs tex4ht, which is part of the i-installer TeX package.
>>
>>
>> Add the info option:
>>
>> htlatex yourtexdoc  "html,info"
>>
>> to put about 60K worth of options and execution info--sort of like  
>> a user manual--into the yourlatexdoc.log file.
>>
>>
>> TeX4ht is very configurable and flexible. I don't use the defaults  
>> because of my employer's specialized requirements, but the  
>> defaults do a very good job of producing html from LaTeX source.  
>> TeX4ht also works with TeX and ConTeXt.
>>
>> --------------------- 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>
>>
>>
>>
>>
>
> I hate showing my stupidity yet again!  How can I use that command  
> in the terminal? I get
>
> [G4:~] tim% htlatex
> tcsh: htlatex: Command not found.
> [G4:~] tim%
>

If you've installed a recent version of TeX using i-installer, it  
should be there. But, maybe the "simple" installation option does not  
install TeX4ht. Is that correct, Gerben?
--------------------- 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 macostex-archives mailing list