<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I am, even after many years and several changes of computers and TeXShop installations, still confused about where to put things.
<div class=""><br class="">
</div>
<div class="">Here is my immediate problem:</div>
<div class="">I have a folder, called “Book(update 2018) which has the text files for a book; among the .tex file is also a folder called Bookmacros(2018) in which I have the user-defined macros I use in this book.This is an update of a book already submitted
 and in fact under production at the publisher, but I wanted an up-to-date corrected version, which is the intention of this folder.  In the master tex file (which calls all the others) I have the command</div>
<div class="">\usepackage{Bookmacros(2018)/formatstyle} pointing to the macro file inside the Bookmacros(2018) folder that governs some formatting issues.</div>
<div class="">It is clear to me that this file is not being accessed (but some other version elsewhere on my computer is) because when I compile the masterful</div>
<div class="">i get an error message about an undefined control sequence referring to a macro that I have triple-checked is correctly defined in the format macros.sty file inside this folder.</div>
<div class=""><br class="">
</div>
<div class="">Can someone clarify how TeX searches for .sty files (and other macro files).</div>
<div class="">I recall that there is a central place where such files can be put to always be accessible to .tex files anywhere on the computer, and would like to be reminded of this, but also here I am concerned with overriding any obsolete versions of this
 file that may have been left lying around.  Am I using the wrong format to point into this subfolder?</div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Zbigniew Nitecki<br class="">
Department of Mathematics<br class="">
Tufts University<br class="">
Medford, MA 02155<br class="">
<br class="">
telephones:<br class="">
my office     (617) 627-3843<br class="">
dept. off.    (617) 627-3234<br class="">
dept. fax    (617) 627-3966<br class="">
<br class="">
<a href="http://sites.tufts.edu/znitecki/" class="">http://sites.tufts.edu/znitecki/</a></div>
</div>
<br class="">
</div>
</body>
</html>