TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wrote a paper for a conference in latex format. It contains figures and bibliographic references. I got the output in PDF format and it looks fine. Now I would like to convert it to HTML. I just tried "latex2html doc.tex". But the problem is that in the resulting HTML index.html format, although it does not look bad, the citation numbers do not appear on the text and the same for the figures, which are both in .eps and .jpg formats.

Is it there a better approach for doing this kind of conversions or am I missing some latex2html parameters?

share|improve this question

tex4ht is a much better LaTeX to HTML converter than latex2html. See my answer to this post.

tex4ht uses standard LaTeX to produce a DVI and works from there to convert to HTML, so it supports a lot of things, including your own macros and tricky packages. I suppose (but haven't tested it myself) that bibliography and figures should work without a problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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