[tex4ht] \TeX logo not well formed in table of contents
Denis Bitouzé
dbitouze at wanadoo.fr
Fri Sep 7 15:44:45 CEST 2012
Hi,
unlike \LaTeX logo, \TeX logo is not well formed in table of contents
(in current text, it is OK).
Indeed, the following MCE:
\documentclass{article}
\begin{document}
\tableofcontents
\section{\LaTeX{}}
\LaTeX{}
\section{\TeX{}}
\TeX{}
\end{document}
leads to:
<div class="tableofcontents">
<span class="sectionToc" >1 <a
href="#x1-20001" id="QQ2-1-2"><span class="LATEX">L<span
class="A">A</span><span class="TEX">T<span
class="E">E</span>X</span></span></a></span> <br /> <span
class="sectionToc" >2 <a href="#x1-30002" id="QQ2-1-3">TEX</a></span>
</div>
whereas, in the current text, \TeX logo is coded:
<span class="TEX">T<span class="E">E</span>X</span>
Is there a simple workaround?
Thanks!
--
Denis
More information about the tex4ht
mailing list