Possible Duplicate:
Where do I place my own .sty files, to make them available to all my .tex files?
I am using the default LaTeX command provided by ygwin on Windows. Just wonder when I have new .sty and .mf's residing in a different directory than my source .tex files, how to use them? I could in principle put all of them together and it works. But rather, I would keep a repository of these files separated from my .tex source files.
#include <dir_to_sty/mysty.xty>in C programming? I would want to have the sty files in arbitrary folder. – Qiang Li Jun 06 '11 at 21:16TEXINPUTSpath variable, likeTEXINPUTS=/path/to/dir: pdflatex project.texorTEXINPUTS=/path/to/dir: xelatex project.tex, so it's easy to override that in a Makefile for example. I don't know if there's something of the kind on Windows. – raphink Jun 06 '11 at 21:38