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?

  • 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.

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.