<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">TeX will always use the .sty, .bib, etc. files that are in the same folder as the tex source file. Hence I suggest you put your corresponding files in the dropbox (sub)folder where your source files are residing.<div><br></div><div>To use the same files when your source file isn't stored in the dropbox folder but somewhere on your local computer create symbolic links to any of these helper files in the <b>proper</b> subfolders of ~/Library/texmf.</div><div><br></div><div>Consult the man pages for the command ln to get it right.</div><div><br></div><div>Claus</div><div><br></div><div><br><div><div>On Oct 1, 2011, at 19:16, Nitecki, Zbigniew H. wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Thanks---I will try that. I am not that experienced in using command lines in Terminal: is your suggestion in response to question 2 a command to enter in Terminal, or is it a command to put in a file in the folder you suggest (and in the latter case, what should that folder be called)?<br><br>Zbigniew Nitecki<br>Department of Mathematics<br>Tufts University<br>Medford, MA 02155<br><br>telephones:<br>Office (617)627-3843<br>Dept. (617)627-3234<br>Dept. fax (617)627-3966<br><a href="http://www.tufts.edu/~znitecki/">http://www.tufts.edu/~znitecki/</a><br><br><br><br><br>On Oct 1, 2011, at 13:01, Alan Munn wrote:<br><br>On Oct 1, 2011, at 12:29 PM, Nitecki, Zbigniew H. wrote:<br><br>I use Texshop on two different computers---a home laptop (MacBook Pro) and an office iMac, and have had some problems trying to use Folders Synchronizer to avoid carrying my laptop when I walk to my office. The recent purchase of an iPad 2 prompted me to investigate using Tex Touch and Tex Timer to be able to work on tex files from the iPad while traveling, and in particular I have started using DropBox instead of synchronization to have access from different computers to a single set of files. This seems to work a lot better than synchronizing.<br><br>Which brings me to my questions.<br><br>1.I have several .sty files with a mass of custom macros that I use in all of my work. On my laptop and on my iMac, these reside in my user ->Library->texmf->tex (or bibtex)->latex folder. I understand that these are now hidden in Lion; if I use the search function (the magnifying glass on my tool bar) I can find about 15 different files with the correct name, but can't find the pathname to any of them. Obviously there is only one I want to use, and that is the one which TeXShop calls up. How do I find it?<br><br>If you open a Terminal window, and type<br><br>kpsewhich foo.sty<br><br>it will return the actual path that TeX uses to find that particular file. So for example, on my machine<br><br>kpsewhich article.cls<br><br>returns /usr/local/texlive/2011/texmf-dist/tex/latex/base/article.cls<br><br>while<br><br>kpsewhich Statweave.sty<br><br>returns<br><br>/Users/alan/Library/texmf/tex/latex/Statweave/Statweave.sty<br><br>which is in my local texmf folder.<br><br><br>2. Even more to the point, I want to put these files in DropBox so that again I have only one copy to modify when I need to. Where do I put them in Drop Box so that TeXShop will find them when I \usepackage them? (of course, TeXShop resides in two copies, one on my laptop and one on my iMac).<br>And can that be designed so that these files get used when I am using TeXShop on a file that didn't come from Drop Box as well?<br><br>I don't know much about Drop Box, but I would suggest putting them a single folder inside your dropbox, and then creating a symbolic link inside the local texmf folder on each of the macs to that dropbox folder. Then the dropbox folder will appear as if it is in the local texmf folder.<br><br>Assuming that your files are just of one type (e.g. latex packages) you would make the link inside ~/Library/texmf/tex/latex<br><br><br>To make the symbolic link<br><br>ln -s <path-to-dropbox-dir> ~/Library/texmf/tex/latex/<local-dir-name><br><br>Alan<br><br>--<br>Alan Munn<br>amunn@gmx.com<mailto:amunn@gmx.com><br><br><br><br><br>----------- Please Consult the Following Before Posting -----------<br>TeX FAQ: http://www.tex.ac.uk/faq<br>List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/<br>List Archive: http://tug.org/pipermail/macostex-archives/<br>TeX on Mac OS X Website: http://mactex-wiki.tug.org/<br>List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex<br><br><br>----------- Please Consult the Following Before Posting -----------<br>TeX FAQ: http://www.tex.ac.uk/faq<br>List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/<br>List Archive: http://tug.org/pipermail/macostex-archives/<br>TeX on Mac OS X Website: http://mactex-wiki.tug.org/<br>List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex<br><br><br></div></blockquote></div><br></div></body></html>