\RequirePackage{fix-cm}
\documentclass[a4paper, 11pt]{article}
\usepackage{fixltx2e}          %fix latex-e bugs
\usepackage[active]{srcltx}    %provide source special insertions
\usepackage[ansinew]{inputenc} %Latin1 includes "S,ö,n", ansinew includes win32 specials
\usepackage[T1]{fontenc}       %enable EC-Fonts(extended cork)
\usepackage{latexsym}          %for gnuplot graphs
\usepackage{tex4ht}            %to make use of the package tex4ht

\title{My TeX4HT-Experiences, 18 of August 2006, stefan@pofahl.de}

%\pagestyle{empty}
%\setlength{\textheight}{21.0cm}
%\setlength{\textwidth}{12,5cm}
\hyphenation{}
\begin{document}


\section*{My experiences installing and using \texttt{tex4ht}}
\subsection*{Installation of the \texttt{MiKTeX}-own \texttt{TeX4HT} packages}

My impression is, that the new (newer than 18. of August 2006)
\texttt{MiKTeX} installation is running without further work.
You just have to update the two ``tex4ht''-pakages, one
is the main part of the package \texttt{tex4ht} and the other 
are the \texttt{MiKTeX}-own binaries \texttt{miktex-tex4ht-bin-2.5} 
for \texttt{TeX4HT}. I decided to install first the main part
and afterwards the binaries.
Than I used the \texttt{MiKTeX}-maintanance programm and refreshed
the database and updated the installed packages.

\subsection*{Installation of the package from \textsc{Philip A. Viton}}
First I updated \texttt{ImageMagic}, downloaded the file \texttt{tex4ht.zip}
and copied it in the install-directory of the package \texttt{tex4ht-miktex-install.zip}.
Now I edited the beginning of batch-file \texttt{miktex-install.bat} and saved
it under the new name \texttt{my\_miktex-install.bat}. I was unsure how to change
the variable \texttt{batdir}, I choosed the Dir of the \texttt{bat}-files of 
the \texttt{tex4ht}-package. Here is the code of the beginning of my new install file:

\begin{verbatim*}
@echo off
::
:: Automated installation script for tex4ht under Miktex
:: April 14 2004: We no longer worry abou the GIF vs GIF87 issue:
::   you should install IM6+ which appears to solve it.
::
:: tex4ht directory (for ht-fonts and the tex4ht.env file)
REM Original: set t4htdir=c:\tex4ht
set t4htdir=C:\Programme\Miktex\texmf\tex4ht
::
:: miktexdir should be the top-level miktex directory
REM Original: set miktexdir=c:\ProgramFiles\miktex
set miktexdir=c:\Programme\miktex\texmf
::
:: local miktex dir	(may be a source of additional tmf files)
REM Original: set locdir=c:\ProgramFiles\localtexmf
set locdir=c:\Programme\localtexmf
::
:: batch directory
REM Original: set batdir=c:\ProgramFiles\miktex\test
REM set batdir=c:\Programme\miktex\texmf\miktex\test
set batdir=C:\Programme\Miktex\texmf\scripts\tex4ht\bat
::
:: gs bin directory
REM Original: set gsbindir=c:\ProgramFiles\gs\gs8.11\bin
set gsbindir=c:\Programme\gs\gs8.00\bin
::
:: imagemagick directory
REM Original: set imdir=c:\ProgramFiles\IM6
set imdir=c:\Programme\ImageMagick-6.2.9-Q16

\end{verbatim*}

Then I checked the
\texttt{PATH}-variable and added the path to the batch-files into this system
variable of the operating system \texttt{MS Windows}:\newline{}

\mbox{\texttt{(\,batdir=\,C:$\backslash{}$Programme$\backslash{}$Miktex$\backslash{}$texmf$\backslash{}$scripts$\backslash{}$tex4ht$\backslash{}$bat)}}\newline{}

Now I opend a command line (\texttt{cmd.exe}) and changed
into the install directory of the \texttt{tex4ht-miktex-install.zip}-package.
In this directory are now my new \texttt{my\_miktex-install.bat}-file, the
\texttt{tex4ht.zip}-file and the files of the package. 
Now I started (as an administrator) my own batch-file from the command-line.

After I did all that, my \texttt{MiKTeX-TeX4HT}-Installation was distroyed.
The error massage was:
\begin{verbatim*}
! Undefined control sequence.
\SaveEverypar ... \expandafter {\the \ht:everypar 
                                                  }}\expandafter \xdef \csna...
l.18 \begin{document}
                     
? 
\end{verbatim*}

So I reinstalled the two \texttt{\TeX{}4HT}-packages from the
\texttt{MiK\TeX{}}-distribution \texttt{:-(} and reinitialized the
font- and style-database as decribed above.
So I don't know if it makes sence to install the package of 
\textsc{Philip A. Viton}, but his internetpage is never the less very helpful,
if you need to know more about \texttt{\TeX{}4HT} under \texttt{MS Windows32}.
If someone can help, hints are appreciated.\newline{}

%\hspace{3.0ex}
\emph{Ulm, Germany, 18. of August 2006, Stefan Pofahl}\newline{}

\emph{P.S.: This is my first document made with \texttt{\TeX{}4HT}. Not much
encouraging \texttt{:-(}}
\end{document}
\endinput



