I now need convert LaTeX to HTML using MiKTeX, and then to Word finally. There is no output html file at all, i followed the step from JBloggs TeX4ht (htlatex) on MiKTeX 2.9 to convert LaTeX into MathML, and then into Office MathML with Word 2010. But still i do not have the html output file.
the tex file
\documentclass[11pt,a4paper]{report}
\begin{document}
Hello there. This is a test of $x_i^2=3$, where
$$\int_0^\infty f(x) = 1.$$
\end{document}
the conversion commands i tried
"C:\Program Files\MiKTeX 2.9\scripts\tex4ht\htlatex.bat" test.tex
"C:\Program Files\MiKTeX 2.9\scripts\tex4ht\htxelatex.bat" test.tex
"C:\Program Files\MiKTeX 2.9\scripts\tex4ht\htlatex" test.tex "html,xml"
C:\Documents htlatex test.tex "html,word"
"C:\Program Files\MiKTeX 2.9\scripts\tex4ht\htxelatex" test
htlatex test.tex "xhtml,mathml" " -cunihft" "-cvalidate -p"
the last one was suggested by MadyYuvi
the compiling result
ar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode html.a.b.c.\input test.
tex
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6100 64-bit)
entering extended mode
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\test.tex"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latex209.def"
Entering LaTeX 2.09 COMPATIBILITY MODE
*************************************************************
!!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!!
This mode attempts to provide an emulation of the LaTeX 2.09
author environment so that OLD documents can be successfully
processed. It should NOT be used for NEW documents!
New documents should use Standard LaTeX conventions and start
with the \documentclass command.
Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style
files that change any internal macros, especially not with
those that change the FONT SELECTION or OUTPUT ROUTINES.
Therefore such style files MUST BE UPDATED to use
Current Standard LaTeX: LaTeX2e.
If you suspect that you may be using such a style file, which
is probably very, very old by now, then you should attempt to
get it updated by sending a copy of this error message to the
author of that file.
*************************************************************
("C:\Program Files\MiKTeX 2.9\tex\latex\base\tracefnt.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latexsym.sty"))
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.sty")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\usepackage.4ht")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mff.sty"
LaTeX Style file MFF.STY, ver. 1.21 [June 1996]
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfdcdata.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfsauter.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfcorfnt.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mftricks.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfarithm.tex"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.4ht"
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) ("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.sty"
--- needs --- tex4ht test ---
(test.tmp) (test.xref)
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\latex.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\fontmath.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\latex209.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\article.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")) (test.aux)
<MFF/line=11>: No file xxz15.tfm -- dummy font will be used
<MFF/line=11>: Do not forget to process xxz15.mf and reprocess this file
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\table.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ulasy.fd") [1] (test.aux) )
(see the transcript file for additional information)
Output written on test.dvi (1 page, 69412 bytes).
Transcript written on test.log.
E:\>latex \makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode
\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1
.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\
HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\c
sname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextch
ar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode html.a.b.c.\input test.
tex
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6100 64-bit)
entering extended mode
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\test.tex"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latex209.def"
Entering LaTeX 2.09 COMPATIBILITY MODE
*************************************************************
!!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!!
This mode attempts to provide an emulation of the LaTeX 2.09
author environment so that OLD documents can be successfully
processed. It should NOT be used for NEW documents!
New documents should use Standard LaTeX conventions and start
with the \documentclass command.
Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style
files that change any internal macros, especially not with
those that change the FONT SELECTION or OUTPUT ROUTINES.
Therefore such style files MUST BE UPDATED to use
Current Standard LaTeX: LaTeX2e.
If you suspect that you may be using such a style file, which
is probably very, very old by now, then you should attempt to
get it updated by sending a copy of this error message to the
author of that file.
*************************************************************
("C:\Program Files\MiKTeX 2.9\tex\latex\base\tracefnt.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latexsym.sty"))
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.sty")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\usepackage.4ht")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mff.sty"
LaTeX Style file MFF.STY, ver. 1.21 [June 1996]
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfdcdata.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfsauter.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfcorfnt.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mftricks.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfarithm.tex"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.4ht"
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) ("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.sty"
--- needs --- tex4ht test ---
(test.tmp) (test.xref)
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\latex.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\fontmath.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\latex209.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\article.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")) (test.aux)
<MFF/line=11>: No file xxz15.tfm -- dummy font will be used
<MFF/line=11>: Do not forget to process xxz15.mf and reprocess this file
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\table.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ulasy.fd") [1] (test.aux) )
(see the transcript file for additional information)
Output written on test.dvi (1 page, 69412 bytes).
Transcript written on test.log.
E:\>latex \makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode
\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1
.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\
HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\c
sname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextch
ar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode html.a.b.c.\input test.
tex
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6100 64-bit)
entering extended mode
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\test.tex"
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latex209.def"
Entering LaTeX 2.09 COMPATIBILITY MODE
*************************************************************
!!WARNING!! !!WARNING!! !!WARNING!! !!WARNING!!
This mode attempts to provide an emulation of the LaTeX 2.09
author environment so that OLD documents can be successfully
processed. It should NOT be used for NEW documents!
New documents should use Standard LaTeX conventions and start
with the \documentclass command.
Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style
files that change any internal macros, especially not with
those that change the FONT SELECTION or OUTPUT ROUTINES.
Therefore such style files MUST BE UPDATED to use
Current Standard LaTeX: LaTeX2e.
If you suspect that you may be using such a style file, which
is probably very, very old by now, then you should attempt to
get it updated by sending a copy of this error message to the
author of that file.
*************************************************************
("C:\Program Files\MiKTeX 2.9\tex\latex\base\tracefnt.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\latexsym.sty"))
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.sty")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\usepackage.4ht")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mff.sty"
LaTeX Style file MFF.STY, ver. 1.21 [June 1996]
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfdcdata.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfsauter.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfcorfnt.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mftricks.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\mfarithm.tex"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.4ht"
::::::::::::::::::::::::::::::::::::::::::
TeX4ht info is available in the log file
::::::::::::::::::::::::::::::::::::::::::
) ("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\tex4ht.sty"
--- needs --- tex4ht test ---
(test.tmp) (test.xref)
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\latex.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\fontmath.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\latex209.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\article.4ht"
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht"))
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4.4ht")
("C:\Program Files\MiKTeX 2.9\tex\generic\tex4ht\html4-math.4ht")) (test.aux)
<MFF/line=11>: No file xxz15.tfm -- dummy font will be used
<MFF/line=11>: Do not forget to process xxz15.mf and reprocess this file
("C:\Program Files\MiKTeX 2.9\tex\latex\mff\table.tex")
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ulasy.fd") [1] (test.aux) )
(see the transcript file for additional information)
Output written on test.dvi (1 page, 69412 bytes).
Transcript written on test.log.
E:\>tex4ht test.tex -i/tex4ht/ht-fonts/ -ewin32/tex4ht.env
----------------------------
tex4ht.c (2012-07-25-19:36 Windows MiKTeX)
tex4ht test.tex
-i/tex4ht/ht-fonts/
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/iso8859/1/charset/unicode.4hf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmtt8.tfm)
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/alias/cm/cmtt.htf)
Searching `lm-rep-cmtt.htf' for `cmtt8.htf'
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmtt.htf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmtt10.tfm)
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/alias/cm/cmtt.htf)
Searching `lm-rep-cmtt.htf' for `cmtt10.htf'
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmtt.htf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr12.tfm)
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr12.htf'
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmrm.htf)
(C:/Program Files/MiKTeX 2.9/fonts/tfm/public/cm/cmr10.tfm)
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/alias/lm/lm-rep-cmrm/cmr.htf)
Searching `lm-rep-cmrm.htf' for `cmr10.htf'
(C:/Program Files/MiKTeX 2.9/tex4ht/ht-fonts/unicode/lm/lm-rep-cmrm.htf)
[1 file test.html
file test.css
file test.tmp
]
Execute script `test.lg'
E:\>t4ht test.tex -ewin32/tex4ht.env
----------------------------
t4ht.c (2012-07-25-19:28 MiKTeX)
t4ht test.tex
-ewin32/tex4ht.env
(C:/Program Files/MiKTeX 2.9/tex4ht/base/win32/tex4ht.env)
Entering test.lg
Entering test.css
Entering test.tmp
E:\>
any one know how should i do ? anyway i should first get html file, no matter how bad look it is.