Some accompanying question to where to put .sty and .cls file for project
What if there are, say two, the same name sty-files located in one texmf-tree but belonging to different packages
\texmf(local)...\packageOld\XXX.sty
\texmf(local)...\packageNew\XXX.sty
\texmf(global)...\InstalledPackage\XXX.sty
and then do
\usepackage{XXX} % ???????? what gets here?
When scanning the tree which one will be chosen by TeX-system, say MiKTeX?
According to the order of the folders above? But this would be non-satisfactory.
I may want to use XXX.sty
form global but other time from
local\packageOld...
then from ...New etc. Should I change the structure of the paths above
each time or to have a headache about possible coinciding my package name with some one from a huge TeX-system tree?
initexmf --register-root=...
.