4

I have a handful of .sty files and .cls files that I occasionally work with. They are outside the TeX directory tree. I have found a convenient way to install these files using ctanify, for instance

ctanify -d  `kpsewhich --var-value TEXMFHOME` -- printout.sty

installs printout.sty in my personal tree where TeX can find it. However this technique doesn't work with .cls files as ctanify insists that I must supply an .sty or an .ins. Is there any workaround to this problem?

2
  • 1
    When I run ctanify, it says Please either list a .ins or .sty file or specify --pkgname. Grabbing a random .cls file from my TDS and giving a pkgname seems to work: ctanify --pkgname=xkeyval xkvecb.cls.
    – LSpice
    Mar 10 '15 at 15:16
  • OK, I'll post it as an answer.
    – LSpice
    Mar 10 '15 at 15:23
6

When I run ctanify, it says

Please either list a .ins or .sty file or specify --pkgname

Grabbing a random .cls file from my TDS and giving a pkgname seems to work:

ctanify --pkgname=xkeyval xkvecb.cls

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.