使用 htlatex 将 LaTeX 文件转换为定制的 LaTeX 文件

使用 htlatex 将 LaTeX 文件转换为定制的 LaTeX 文件

我想转换LaTeXCustomized LaTeX code使用htlatex。在中可以吗tex4ht?我们的最终目标是natbib交叉链接需要转换为without \cite标签,\def命令需要解释等等。我的 MWE 是:

\documentclass{article}
\usepackage{natbib}
\def\myitalicbold#1{\textbf{\textit{#1}}}
\begin{document}
\title{Article title here}
\author{chen}
\maketitle
Sample Text here with \myitalicbold{bold-and-italic} and normal text here.

According to the consolidated banking statistics from BIS, the balance of the external assets of global banks at end-June 2012 has expanded 2.9 times from 2000. Furthermore, the country-level aggregate statistics of \citet{Lane/Milesi-Ferretti:08} indicate that the stock of cross-border banking is more than 50 percent of the overall amount of international holdings.
\end{document}

我所需的输出是:

\documentclass{article}
\usepackage{natbib}
\def\myitalicbold#1{\textbf{\textit{#1}}}
\begin{document}
\title{Article title here}
\author{chen}
\maketitle
Sample Text here with \textbf{\textit{bold-and-italic}} and normal text here.

According to the consolidated banking statistics from BIS, the balance of the external assets of global banks at end-June 2012 has expanded 2.9 times from 2000. Furthermore, the country-level aggregate statistics of Lane, A. and Milesi-Ferretti, S. (2008) indicate that the stock of cross-border banking is more than 50 percent of the overall amount of international holdings.
\end{document}

相关内容