使用 htlatex 将 LaTeX 转换为 HTML 后,内容页、页码和一些图像丢失

使用 htlatex 将 LaTeX 转换为 HTML 后,内容页、页码和一些图像丢失

我正在尝试制作 PDF 和 HTML 格式的用户手册。我已经使用生成了 HTML 文件,htlatex但其中缺少内容页、页码和一些图片。我的图片都是 JPG 格式。这是我的主.tex文件:

 \documentclass[11pt,a4paper]{report}  
        \usepackage{fancyhdr}
        \makeatletter
        \@ifpackageloaded{tex4ht}{%
          \usepackage[dvips]{color,graphicx}
          \usepackage[tex4ht]{hyperref}
        }{%
          \usepackage[pdftex]{color,graphicx}
          \usepackage{hyperref}

          \setlength{\headwidth}{\textwidth}

          \fancyhead[L]{\rightmark} 
          \fancyhead[R]{\includegraphics[height=0.43in]{Images/Fugrologo.eps}} % right with logo 
    \fancyfoot{}%to remove centered default footer 
          \fancyfoot[L]{Fugro Roadware Inc.} 
          \fancyfoot[R]{\thepage \  of \pageref*{LastPage}}% page# of reference page(last)

          \fancypagestyle{plain}% no header, footer contains page number centered { 
          \fancyhf{} %for the pages outside of content, list of figures etc. 
          \fancyhead[R]{ \includegraphics[height=0.43in]{Images/Fugrologo.eps}} % right with logo

          \fancyfoot[L]{Fugro Roadware Inc.} \fancyfoot[R]{\thepage \  of \pageref*{LastPage}} 

          \pagestyle{fancy}
          \usepackage[absolute]{textpos}
          \usepackage{fullpage}
        }
        \makeatother  

        \usepackage{epstopdf}  
        \usepackage{lastpage}  
        \usepackage{makeidx}  
        \usepackage[english]{babel}  
        \usepackage{float}  
        \usepackage{subfig}  
        \usepackage{multirow}  
        \usepackage{appendix} 
        \usepackage{verbatim} 

            \renewcommand{\appendixtocname}{Appendix: Algorithm Parameters} \renewcommand{\appendixpagename}{Appendix-Algorithm Parameters}

            \setlength{\topmargin}{-1.3cm} \setlength{\headsep}{0.6cm}

            \renewcommand{\tablename}{\bfseries{Table}}

            %The top margin above a chapter can be changed using the titlesec package 

        \hypersetup{
                bookmarks=true,         % show bookmarks bar?
                unicode=false,          % non-Latin characters in Acrobat’s bookmarks
                pdftoolbar=true,        % show Acrobat’s toolbar?
                pdfmenubar=true,        % show Acrobat’s menu?
                pdffitwindow=false,     % window fit to page when opened
                pdfstartview={FitH},    % fits the width of the page to the window
                pdftitle={My title},    % title
                pdfauthor={Author},     % author
                pdfsubject={Subject},   % subject of the document
                pdfcreator={Creator},   % creator of the document
                pdfproducer={Producer}, % producer of the document
                pdfkeywords={keyword1} {key2} {key3}, % list of keywords
                pdfnewwindow=true,      % links in new window
                colorlinks=true,       % false: boxed links; true: colored links
                linkcolor=black,          % color of internal links
                citecolor=green,        % color of links to bibliography
                filecolor=magenta,      % color of file links
                urlcolor=cyan           % color of external links }
            }
            \input{Macro} %\renewcommand{\caption}[1]{{\underline{#1}}}

            \makeindex

            \renewcommand{\headheight}{0.6in} %Space above header \renewcommand{\headrulewidth}{1pt} %thickness of line under header \renewcommand{\footrulewidth}{1pt} \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} %thickness of line on title page

\begin{document}

\tableofcontents 
\listoffigures 
\listoftables 

\input {bhg fgfgf sadasd}

\appendix 
\appendixpage 
\addappheadtotoc 
\printindex
\clearpage 


\end{document}

相关内容