[OS X TeX] Where to put file like "longdiv.tex"?
Alain Schremmer
Schremmer.Alain at gmail.com
Wed Feb 28 10:49:29 EST 2007
Herbert Schulz wrote:
>
> On Feb 28, 2007, at 8:39 AM, Alain Schremmer wrote:
>
>> Any difference between "run[ning] texhash" (I assume from the
>> terminal) and LaTeXing from TeXShop?
>>
>> Regards
>> --schremmer
>
>
> Howdy,
>
> It should be
>
> sudo texhash
>
> done from Terminal. This must be done if files are added to any tree
> OTHER than your personal tree, ~/Library/texmf/; new files in the
> personal tree are found automatically without running texhash.
>
> To be able to find files quickly---after all there are thousands of
> files in a TeX distribution---a file, ls-R, is created, by running
> texhash, that allows for rapid searches of a tree structure. You must
> use sudo to run texhash because these ls-R files are created in
> directories that are not writable by normal users.
>
> E.g., you can get a list of directories searched by pdflatex for .sty
> files using the command
>
> kpsepath -n pdflatex sty
>
> in Terminal. Items in that list that start with !! will be rapidly
> searched using the ls-R file rather than a recursive search through
> the tree. Notice that searches in your personal tree does NOT have a
> leading !!.
Well, as I already told Dyballa, and being a "normal user"—I hope, I am
quite content to let TeXShop do the dirty work. :-)
However, I am grateful to you and Dyballa as this is the way that I am
(slowly) learning about what is under the hood.
Regards
--schremmer
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list