2

This question was already answered by Radhakrishnan in an older post
How do I preserve hyperreferences in the index when converting text from LaTex to HTML, but I'm not able to get his solution to work. The .idx and .ind files are successfully generated. However, executing the following command in the dos console tex '\def\filename{{test}{idx}{4dx}{ind}} \input idxmake.4ht' gives me the error message

This is TeX, Version 3.1415926 (MiKTeX 2.9 64-bit)
! I can't find file `''.

\def
<*> '\def
\filename{{test}{idx}{4dx}{ind}} \input idxmake.4ht'
Please type another input file name:

Did I forget something? Any pointers to the cause of the problem would be appreciated.

4

Windows command line doesn't use single quotes to quote arguments. You need to use double quotes instead:

tex "\def\filename{{test}{idx}{4dx}{ind}} \input idxmake.4ht"
  • 1
    life with Windows is always full of unexpected surprises :) – michal.h21 Feb 23 '14 at 20:04

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.