tex4ht installation
Website of tex4ht utility is http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html
I have installed on Windows system, I haven't tried with linux yet.
So, there are essentially two ways to install tex4ht: as a MiKTeX package, and standalone. I prefered to install it as miktex package, but it appeared to be later that miktex default installation pathway has a spaces in it, and tex4ht cannot work like this.
Here were my steps:
I first installed tex4ht package through miktex package manager. My miktex instllation was at 'C:\MiKTeX 2.6' . Note that there was a space in the path.
After installing it, I added "C:\MiKTeX 2.6\miktex\bin" to system path. It can be done by doing right-click on 'My Computer', clicking properties, then going to tab "Advanced" and clicking button environment variables.
I also installed ImageMagic program, for 'convert' utility that it has, and which is needed by tex4ht. Path to it should automatically be added to system path by install program.
After that I had to do editions in tex4ht.env file, which was located at C:\MiKTeX 2.6\tex4ht\base\win32.
The editiond what I made were following:
I first had to update <ooxtpipes> tag to following:
<ooxtpipes>
.4oo move %%0.4oo %%0.tmp
.4oo java -classpath "C:\tex4ht\bin" xtpipes -i "C:\tex4ht\xttl" -o %%0.4oo %%0.tmp
.4om move %%1.4om %%1.tmp
.4om java -classpath "C:\tex4ht\bin" xtpipes -i "C:\tex4ht\xttl" -o %%1.4om %%1.tmp
</ooxtpipes>
After that, I changed names of tags <oo> and <oo-msys>. This is to make different script run for oolatex command, which works better than default one. Also, inside new <oo> tag, I had to change mv to move and cp to copy.
Another thing was that I had to copy contents of "C:\MiKTeX 2.6\tex\generic\tex4ht\bin" and "C:\MiKTeX 2.6\tex\generic\tex4ht\xttl\" to c:\tex4ht\bin and c:\tex4ht\xttl respectively, in order to make paths not contain spaces. I also had to update paths in <ooxtpipes> tag accordingly.
After this steps performed, you can go from console to folder where latex file is located and do:
oolatex [name of file].tex
I have tested with simple file containing text, and it worked. I am going to test with math and image containing documents.
Here is the google-groups (usenet) thread where I discussed my problems:
http://groups.google.com/group/comp.text.tex/browse_thread/thread/50194e8a4a37ecf1

TeX4ht under MiKTeX
http://facweb.arch.ohio-state.edu/pviton/support/tex4ht.html