Environment TEXINPUTS This is a path to search for custom packages. Any directory that ends in a double slash is searched recursively. HOMETEXMF This is the base of a TDS-compatible tree. You should run texhash $HOMETEXMF whenever you change it.