Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • If it is just the class file that you need, you can put it in the same folder as the .tex file and the compiler will find it. Commented Oct 17 at 12:00
  • The problem might be that you do not refresh the filename database of MikTeX, so it does not actually know of any files contained in the new tree. Commented Oct 17 at 12:05
  • TEXMFHOME sounds as if the instruction are for texlive (people writing such instruction normally do not know miktex). I don't think that miktex supports that variable, imho it only know TEXINPUTS. Generally, registering a new root (which you can do in texlive too) is only sensible if you don't do it to often as it is not fast. Commented Oct 17 at 12:11
  • This is just a MWE, my local texmf folder contains more than this one class. And yea I was wondering whether it was a MiKTeX vs texlive thingy, that's also why I added this piece of info to the post. Though the link I referenced mentions MiKTeX, not texlive. @UlrikeFischer yea registering a root on-the-fly every time might slow it down a lot? Then maybe I'll consider a different approach. Commented Oct 17 at 12:23
  • Simply test it yourself how fast it is on your machine, I haven't done it for miktex for quite some time. Do not forget that you have to unregister again when you quit the project. In texlive it is not superfast so not something I would do before every compilation or if I switch between projects a lot. I mostly use that for permanent roots. Commented Oct 17 at 12:41