I’m developing a (non-public) custom class which has a comparing Xindy style file (.xdy). I’m installing the class feels etc. according to TDS with a script (or by unzipping to the right directories). But I couldn’t figure out a robust way to install the Xindy file, since it doesn’t use kpsewhich. So what is the best place to save such a style? It should

  • work with TeX Live and MikTeX
  • be as easy as possible
  • ideally not requiring to change .profile or something like that

I don’t know what systems the users have. But I guess most of them are basic users without any knowledge about installing packages or using the Terminal/Bash/…

Deployment via CTAN is not possible since the class/style is exclusive and non-public.

  • Easiest is always going to be 'here', as in 'in the current working directory'. MiKTeX doesn't register a user tree as standard so for those users you will have to have some minimal instructions if you want to support system installations.
    – Joseph Wright
    Jun 4 '16 at 8:45
  • Thanks. I forgot to mention the “same directory” method, which would work but a “real“ installation would be better :-)
    – Tobi
    Jun 4 '16 at 9:44
  • @JosephWright: miktex has (two) standard user trees but the problem is imho the "xindy don't use kpsewhich" part, if I remember correctly xindy simply doesn't look in other trees but I will have to recheck the details -- long ago that I tried. Jun 4 '16 at 9:50
  • @UlrikeFischer: Thanks. Then I guess I stick to “install in project folder” as a work around. I forgot that a I asked this question in 2014 already … I voted to close the old one as duplicate of this one.
    – Tobi
    Jun 5 '16 at 9:33
  • Looks like you are developing this stuff for quite a long time now...
    – Matsmath
    Jun 5 '16 at 9:47

At the moment it seems like the answer is there is no way, since Xindy doesn’t use kpathsea. In 2014 I posted a feature request at SourceForge and it is assigned to the 2.6 mile stone (current ist v2.3).

So th easiest way to “install” is to copy the style file in the project folder.

  • Perhaps there is hope: Akira did sent me a patch to add kpsewhich to xindy, I will test it and report back. Jun 5 '16 at 11:06
  • @UlrikeFischer: sounds great :-)
    – Tobi
    Jun 5 '16 at 12:08
  • @UlrikeFischer Hi, are there any news on this? Is using the current version using kpsewhich?
    – Tobi
    Dec 31 '19 at 14:33

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.