[OS X TeX] Placement of files

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Mon Oct 1 17:21:47 CEST 2018

I am, even after many years and several changes of computers and TeXShop installations, still confused about where to put things.

Here is my immediate problem:
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
\usepackage{Bookmacros(2018)/formatstyle} pointing to the macro file inside the Bookmacros(2018) folder that governs some formatting issues.
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
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.

Can someone clarify how TeX searches for .sty files (and other macro files).
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?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

my office     (617) 627-3843
dept. off.    (617) 627-3234
dept. fax    (617) 627-3966


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20181001/f5ba81e9/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list