9

Simple question: I have a folder I'd like to add to my MikTex search path (containing a stack of include and .sty files.)

For the life of me, I can't seem to figure out how to add a folder to the search path.

(For the record, I'm on Windows 7, and using TeXWorks to generate pdf files via XeLaTex, all installed via MikTex 2.8 )

Leo Liu
  • 77,365

1 Answers1

9

Open "Maintenance" or "Maintenance (Admin)" in Start Menu, select "Settings". You will open "MiKTeX Options" window. (a.k.a MiKTeX Console for Windows)

enter image description here

You can add a root path of your own. e.g. X:\localtexmf\

Then you can put your own LaTeX styles into X:\localtexmf\tex\latex\WHATEVER. tex\latex is predefined position in TDS, you can't use arbitrary directory structure.

Then run "Refresh FNDB" command in "General" tab in "MiKTeX Options" window.

Leo Liu
  • 77,365