* 或 tex4ht 中的匕首脚注值更改

* 或 tex4ht 中的匕首脚注值更改

我是 tex 新手,使用 tex4ht 选项转换 html,在转换我的 tex 文件时 * 在转换后的 html 文件中将脚注更改为 1。

Latex 文件

\documentclass[]{book}
\usepackage{amsmath}
\usepackage{graphicx,epsfig}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage[toc,page]{appendix}
\usepackage{soul}
\usepackage[bottom]{footmisc}
\makeatletter
\def\exercisehead#1{\par%
\centerline{\normalfont\bfseries#1}\par
}
\makeatother
%\usepackage[active, generate=file, extract-env={figure}]{extract}

\newcommand{\omegav}{\boldsymbol{\omega}}
\newcommand{\gradv}{\boldsymbol{\nabla}}
\newcommand{\gammav}{\boldsymbol{\gamma}}
\newcommand{\zetav}{\boldsymbol{\zeta}}
\newcommand{\lv}{\boldsymbol{\ell}}
\newcommand{\sigmav}{\boldsymbol{\sigma}}
\newcommand{\varepsilonv}{\boldsymbol{\varepsilon}}

\usepackage{natbib}
\bibliographystyle{agsm}     %Bibliography: Author-Date system
\numberwithin{section}{chapter}
\numberwithin{equation}{chapter}
\makeindex

\begin{document}

\hspace*{2cm}---Albert Einstein, letter to David Hilbert, May 24,
1918\index{Einstein, Albert}\footnote{[Calaprice (1996), Byers
(1999)]} in Yvette Kosmann-Schwarzbach, \textit{The Noether
Theorems: Invariance and Conservation Laws in the Twentieth
Century}, translated by Betram E. Schwarzbach, 2010, 71--72

\bigskip

\end{document}

HTML 输出

<p class="noindent" >&#x00A0;&#x00A0;&#x00A0;&#x00A0;&#x00A0;                 &#x2014;Albert Einstein, letter to David Hilbert, May 24,
1918<a 
 id="dx1-2"></a><span class="footnote-mark"><a 
href="#fn1x0" id="fn1x0-bk"><sup class="textsuperscript">1</sup></a></span><a 
 id="x1-3f1"></a>
in Yvette Kosmann-Schwarzbach, The Noether Theorems: Invariance and
Conservation Laws in the Twentieth Century, translated by Betram E.
Schwarzbach, 2010, 71&#x2013;72
</p>

TeX4ht 命令

htlatex filename "xhtml" " -cunihft" "-cvalidate -p"

PDF 输出

在此处输入图片描述

寻求任何建议

谢谢,穆斯塔法

答案1

请将标签放置在\renewcommand{\thefootnote}{\fnsymbol{footnote}}前面 \begin{document},然后运行转换模式......

相关内容