[OS X TeX] question about fontspec/manually installing packages
Thomas A. Schmitz
thomas.schmitz at uni-bonn.de
Wed Apr 26 12:15:04 CEST 2006
On Apr 26, 2006, at 2:00 AM, "Ross Moore" wrote:
> Use 'locate' to find all files having similar names.
>
> For example, (in a Terminal window):
>
> [glenlivet:] rossmoor% locate ps4pdf | grep ".sty"
> /Users/rossmoor/Fermat/FERMAT-BOOK/MasterFiles/ps4pdf.sty
> /Users/rossmoor/texmf/doc/ps4pdf/ps4pdf.sty
> /Users/rossmoor/texmf/tex/latex/ps4pdf/ps4pdf-06h.sty
> /Users/rossmoor/texmf/tex/latex/ps4pdf/ps4pdf.sty
> /usr/TeX/texmf/tex/latex/ps4pdf/ps4pdf.sty
>
Ross,
thanks for a careful and detailed explanation. I just want to add one
small detail to the point quoted above: on my system, "locate" does
not search and index the "Home" directory, and I think this is the
default in OS X (I'm on 10.4.6):
tas at homer:~ % locate memoir.cls
/usr/local/teTeX/share/texmf.tetex/tex/latex/memoir/memoir.cls
If you want to find multiple instances of TeX files, packages, fonts
etc., use the command "kpsewhere":
tas at homer:~ % kpsewhere memoir.cls
/Users/tas/Library/texmf/tex/latex/memoir.cls
/usr/local/teTeX/share/texmf.tetex/tex/latex/memoir/memoir.cls
This will give you a list of all files with this name; the first in
the list is the one actually used by TeX. Of course, this only works
if the file is in a location where "TeX can see it," so it has the
added benefit to double-check if you installed files in the right
directory.
Thomas
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list