yeah I came across that link (below) before and actually had a stab at trying to get tex4ht, but unfortunately the link in section 3.2 for the install gives me a "server not found" error !!
http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html

Then down in section 6 where you setup tex4ht there is a link to tex4ht-miktex-install.zip <http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht-miktex-install.zip> which I can get, but it doesn't contain any htlatex.bat. There is a miktex-install.bat but it requires I have the tex4ht installed in the first place !! I can see it will create a htlatex.bat from the .tab file there. I tried copying the htlatexp.tab to my miktex bin and rename it to htlatex.bat, then running "htlatex xypic.tex". Lots of scrolling message and left at a latex prompt, but still no go. Also warnings about not finding tex4ht.env.

But I see that in my C:\texmf\miktex\bin most of the tex4ht stuff is already there (from bundle install). Well the tex4ht.exe anyways :) So it does seeeeeem that tex4ht stuff is already included in the bundle, just maybe not completely ????

Steve, with the htlatex.bat you sent me, I get "! LaTeX Error: File `tex4ht.sty' not found." error.

So I guess if I have to get/install tex4ht, where exactly do I get it from ???
Obviously, it seems only logical all this be included in the Lyx bundle.

Cheers
Dean.


Steve Harris wrote:

About a problem originally reported on the User list.
The html viewer option and export option usually
handled by htlatex doesn't work in LyX Windows XP.

Paul A. Rubin wrote:
I don't see a directory for tex4ht on the path (unless I'm missing it).

Dean: Any ideas ?

Paul:
Did you download and install tex4ht? (There are instructions for MiKTeX users at http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html.) The htlatex.bat file is part of the installation, in <htlatex root>\bin\win32\.

/Paul



A missing tex4ht package is confirmed as the problem.
I just tried the new 1.4.2 installer and it downloads
Miktex with an htlatex.exe file, but not the rest of it.

I reproduced the same error message as Dean earlier:

C:\texmf\miktex\bin>htlatex splash.tex
htlatex: the batch script could not be found.

In earlier versions of LyX, the installation searched
for an Html converter and under Preferences one could
usually find Latex -> HTML with htlatex listed/chosen.

This new installer apparently doesn't search for an html
converter although Html is still listed as a Viewer option.
I tried with tex4ht installed and the new 1.4.2 Win installer.

Since htlatex export never seems to have worked in WinLyX I
don't know that a solution would be for the new installer
to include tex4ht in its default download and installation
of Miktex when Miktex is missing. Htlatex would then work
from the command line without new users having to figure
out they needed to install another package too. I was
surprised that the default installation includes just
htlatex.exe but not the rest of the package.

I like the new installer.

Thank you,
Stephen


Reply via email to