我用pandoc
它来将 LaTeX 文件转换为纯 HTML 文件。到目前为止一切正常。但是,图像和参考资料未被解析。
我用
pandoc guide.tex -o guide.html
生成 HTML 文件。
我怎样才能解决这个问题?
guide.tex 的内容:
\documentclass[12pt,a4paper,english,twoside]{book}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{epsfig}
\usepackage{moreverb}
\usepackage{rotating}
\usepackage{graphics, graphicx,wrapfig}
\usepackage{fancybox}
\usepackage{picinpar,varioref,floatflt}
\usepackage{ae}
\usepackage{longtable}
\usepackage{textcomp}
\usepackage{float}
\usepackage{url}
\usepackage{listings}
\graphicspath{ {} }
\setlength{\fboxsep}{3pt}%
\setlength{\fboxrule}{1pt}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Define the language of the diploma thesis
\selectlanguage{english}
\usepackage{color}
\definecolor{gray}{rgb}{0.4,0.4,0.4}
\definecolor{darkblue}{rgb}{0.0,0.0,0.6}
\definecolor{cyan}{rgb}{0.0,0.6,0.6}
\lstset{ % General setup for the package
language=Perl,
basicstyle=\small\sffamily,
numbers=left,
numberstyle=\tiny,
frame=tb,
tabsize=4,
columns=fixed,
showstringspaces=false,
showtabs=false,
keepspaces,
commentstyle=\color{red},
keywordstyle=\color{blue}
}
% supress chapter names %
\renewcommand{\chaptername}
% supress numbering %
\renewcommand{\thechapter}{}
\renewcommand{\Link}[3][]{}
\begin{document}
\begin{figure}[H]
\centering
\fbox{\includegraphics[width=0.80\textwidth]{registration-step01.jpg}}
\caption{Registration step one: Capture personnel data}
\label{fig:registration-step01}
\end{figure}
\end{document}