A very basic question: I am a beginner using MiKTeX with Windows (8.1). I only know how to edit and compile with TeXnicCenter. Now and then I learn from this very helpful TeX-forum that it is necessary to execute ("run") some commands like e. g. xindy -M texindy -L vietnamese -C utf8 dominik.idx. How is this to be done? I tried with the Windows command line but I only get the following response: 'xindy' is not recognized as an internal or external command, operable program or batch file - no matter which directory I'm in. Could someone please explain how to do this?

  • 1
    xindy is rather special: it has been added to miktex only a few days ago. Try first other tools. – Ulrike Fischer Jun 29 '15 at 16:27
  • How about executing commands in general? How/where do you do that? – Dominik Jun 29 '15 at 16:29
  • Are you sure xindy is installed? For me it works fine on a Windows 7 system. – Bernard Jun 29 '15 at 20:54
  • @Bernard Well, I think so. I downloaded all available packages with xindy in their names; respective directories have been created (like \MiKTeX 2.9\xindy). Still I do not know where to go in order to execute these commands... – Dominik Jun 30 '15 at 7:47
  • Using the windows command line should work fine. If you need a command more often, you can add buttons/profiles in texniccenter similar to the one which now starts pdflatex (which you could run on the command line too). I wouldn't want to have to write all the xindy options constantly ;-). – Ulrike Fischer Jun 30 '15 at 7:47

As in the comments the question was changed to "how to get the new xindy working in miktex" here some background:

xindy.exe in the miktex bin-folder is a small wrapper which calls perl xindy.pl. A lot of the applications in the miktex folder are only wrappers (which explains why they are so small).

The wrappers are normally created with initexmf --mklinks --admin (or without --admin in the case of single user installation). In most cases the installation creates the wrappers.

The wrappers are listed in scripts.ini. This is a protected file and one can't change it manually. New wrapper applications must be added by miktex updates.

This means that for a new application like xindy it is not enough to install the relevant xindy packages one should also run the update manager (admin) to update other core miktex packages.

Beside this: when managing miktex one should close other miktex applications (like YAP) so that they don't block core files.

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.