tex4ht spuriously italicizes footnote hooks (e.g., "1" for the first footnote) at the bottom of the page when the first word of the footnote is italicized.


%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode




% Bibliography etc

\usepackage{textcomp} % For angle brackets `\textlangle` and `\textrangle`


%%%    My text goes here:    %%%%%%%%%%%%%%%%%%%%%%

Text.\footnote{Ordinary footnote: \cite{knuth:ct}.}

Text.\footnote{\emph{Italicized} first word of footnote.}

%%%    My text ends here:    %%%%%%%%%%%%%%%%%%%%%%


Is there a way to fix this bug?

  • Something similar happens when the first word of a footnote is in boldface: the footnote hook becomes boldface too. – Alex Roberts Feb 10 '19 at 16:31
  • 1
    I cannot reproduce this issue with current version of ooffice configuration, maybe it had been fixed as a consequence of another fix? – michal.h21 Mar 19 '19 at 22:33
  • You're right -- it has been fixed in the new version! Thank you for pointing that out. Perhaps that should become the official answer? – Alex Roberts Mar 23 '19 at 20:57

This issue was seemingly fixed by recent tex4ht development, as the current development version produces the following result (the page had been resized to make the screenshot smaller):

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.