How do I add a custom .sty file to MiKTeX Portable?
Adding it to
.\tex\latex\misc and then refreshing the database doesn't work -- Xetex still avoids searching for the file altogether, outside of the current
.tex file directory.
Apparently MikTeX Portable doesn't like custom additions to its own
Put your custom
Then in the MikTeX Options dialog, switch to the Roots pane, and add
Now go back to the General pane, and Refresh FNDB. MikTeX Portable should now be able to see your custom