TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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 have written a book with three indexes in LaTex. I can produce a perfect hyperreferenced pdf file using the dvipdf filename command, but I cannot convert Latex into HTML using htlatex or TEX4ht without losing hyperlinks in the indexes. The program objects to index entries such as

\item Balzac, Honor\'{e}, 
        \hyperindexformat{\see{de Balzac, Honor\'{e}}}{53}.

Can anyone help?

share|improve this question
Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – Marco Daniel Aug 13 '12 at 16:19

Run 'htlatex file' which will give you file.idx among other files.

Given below are the commands to process the index file:

tex '\def\filename{{file}{idx}{4dx}{ind}} \input idxmake.4ht'
makeindex -o file.ind file.4dx

Run 'htlatex file' again, now you will get file.html with hyperlinked index.

share|improve this answer
Windows users should read this answer from michal.h21: tex4ht: hyperlink page numbers in the index. – Speravir Feb 23 '14 at 22:11

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.