Dean O'Connor wrote:

This is my env path value:

PATH=c:\program
files\imagemagick-6.2.8-q16;C:\texmf\miktex\bin;C:\Perl\bin\;C:\WINDOWS\
system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progra
m Files\Common Files\GTK\2.0\bin\;C:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\projects\clarite\trunk\xercesc\Xerces-C_3_0_0_d
ev\Bu
ild\Win32\VC8\Release;C:\tools;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSD
ev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual
Studio\VC98\bin;C:\Program Files\gs\gs8.54\bi
n;C:\Program Files\LyX14\python

I don't see a directory for tex4ht on the path (unless I'm missing it).
The Miktex directory with the Lyx bundle is: C:\texmf\miktex\bin

If I type "convert" I get the ImageMagick one.

I also have installed the latest Miktex 2.5 beta (just now) and tried
running htlatex from there.
In a separate command window for that I put its own path at front of
PATH.
Ie. Above path prefixed with: C:\Program Files\MiKTeX 2.5\miktex\bin

In both the bundle and the beta Miktex environments (which use the same
ImageMagick and GS paths) I get the same problem.

If I run htlatex.exe .. They both say:
C:\texmf\miktex\bin>htlatex c:\docs\newfile1.tex
htlatex: the batch script could not be found.

C:\PROGRA~1\MIKTEX~1.5\miktex\bin>htlatex c:\docs\newfile1.tex
htlatex: The Windows command script file could not be found.

If I add an empty htlatex.bat file to both directories, it stops that
error, but nothing happens. Ie. It executes that batch file.
Why ? What is it with the batch file ?
Obviously I am missing some fundamental Miktex piece of the puzzle here,
but to be honest both installs were smooth as.

Any ideas ?

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

Reply via email to