I'm using tex4ht, or more specifically htxelatex, to convert a rather large xelatex file to HTML but I noticed that all my footnotes are turned into separate HTML files. Is there a way to tell the program that I want to place the footnotes in the same file as the main text?

To illustrate the problem, I have the following MWE (which I named httest.tex):


This produces two files: httest.html containing


and httest2.html containing


I want it to produce a single file named httest.html that contains



  • 1
    Regarding the superscript: the StackExchange sites support a limited subset of html tags, among which <sup></sup> and <sub></sub> for superscript and subscript.
    – Marijn
    Nov 26, 2020 at 11:58

1 Answer 1


Sure, you can achieve what you want using the fn-in option:

make4ht -x httest "fn-in"

I would use make4ht instead of htxelatex, as it has much more features and fixes some issues.

This is the rendered HTML:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .