[OS X TeX] MacOSX-TeX Digest, Vol 63, Issue 7 hidden files

Herbert Schulz herbs at wideopenwest.com
Tue Jan 15 14:52:45 CET 2013


On Jan 15, 2013, at 6:12 AM, Leslie Morland (MTH) <L.Morland at uea.ac.uk> wrote:

> 
> Many thanks Herb. I use Mountain Lion and TeXLive 2012. Standard article.cls etc are there, but not the extra Journal .sty files which I will have to download again and put in .../base/ . My explorations of 'tex' did not find this directory. Is there a TeX Live document which sets out the directory structure and contents?
> 
> Still cannot see where .bib files can be placed to be found generally, other than in each current directory?
> 
> I am curious to know where wide open west is located?
> 
> Leslie
>> 
>> Message: 2
>> Date: Mon, 14 Jan 2013 15:26:27 +0000
>> From: "Leslie Morland (MTH)" <L.Morland at uea.ac.uk>
>> Subject: [OS X TeX] hidden files
>> To: "macosx-tex at email.esm.psu.edu" <macosx-tex at email.esm.psu.edu>
>> Message-ID: <ECCE4FE2-C4D3-4DE3-84ED-77402534C924 at uea.ac.uk>
>> Content-Type: text/plain; charset="us-ascii"
>> 
>> Sorry, did not note earlier advice about hidden files, and after a hard disk replacement on my iMac, and only a partial
>> recovery from back-up disk, I have found that extra sty, bst, and cls files I added to "texmf" are missing or misplaced.
>> Find does not recognise any standards (e.g.: article.sty), and my terminal explorations have found nothing. I need to know how to see them, and add my extras again, and understand where I can put these and bib file folders to always be seen by TexShop. That is, where is texmf?
>> 
>> Leslie (l.morland at uea.ac.uk)
>> 
>> ------------------------------
>> 
>> Message: 3
>> Date: Mon, 14 Jan 2013 09:35:48 -0600
>> From: Herbert Schulz <herbs at wideopenwest.com>
>> Subject: Re: [OS X TeX] hidden files
>> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
>> Message-ID: <796F2CF3-7C2B-4A0A-B5E9-04CFEA308C21 at wideopenwest.com>
>> Content-Type: text/plain; charset=iso-8859-1
>> 
>> 
>> On Jan 14, 2013, at 9:26 AM, "Leslie Morland (MTH)" <L.Morland at uea.ac.uk> wrote:
>> 
>>> Sorry, did not note earlier advice about hidden files, and after a hard disk replacement on my iMac, and only a partial
>>> recovery from back-up disk, I have found that extra sty, bst, and cls files I added to "texmf" are missing or misplaced.
>>> Find does not recognise any standards (e.g.: article.sty), and my terminal explorations have found nothing. I need to know how to see them, and add my extras again, and understand where I can put these and bib file folders to always be seen by TexShop. That is, where is texmf?
>>> 
>>> Leslie (l.morland at uea.ac.uk)
>> 
>> Howdy,
>> 
>> What version of the OS are you using? If you are using Lion or Mountain Lion the Library folder in your HOME folder (known as ~/Library) is hidden by default. To open it hold down the Option key while you click on the Go Menu in Finder and the Library item will show.
>> 
>> If you installed MacTeX the main TeX distribution (TeX Live 2012 presently) is located at /usr/local/texlive/2012 and /usr is hidden in the Finder. But I don't know why (pdf)latex is not finding article.cls. What does
>> 
>> kpsewhich article.cls
>> 
>> executed in Terminal return? It should return
>> 
>> /usr/local/texlive/2012/texmf-dist/tex/latex/base/article.cls
>> 
>> if all is well.
>> 
>> Can you supply us with a minimal but compilable .tex file that shows the problem along with the .log file it produces on your system?
>> 
>> Good Luck,
>> 
>> Herb Schulz
>> (herbs at wideopenwest dot com)


Howdy,

Don't ever put things in /usr/local/texlive/2012 (or any other year).

If you are using the machine for personal use place personal packages in ~/Library/texmf/tex/latex (or sub-directories of that directory, for organizational purposes). Personal bib files go into ~/Library/texmf/bibtex/bib (or sub-directories of that...) and personal bst files go into ~/Library/texmf/bibtex/bst (or...). That directory structure in not created by default so you need to go to ~/Library (hold the Option key down and click on the Go Menu to see that Library displayed --- Lion and Mountain Lion hide it by default. Then create the texmf directory/folder and the internal folders.

If there are multiple users of your system and more than you alone need access to those files place them in a similar structure (e.g., bibtex/bib/... for bib files and tex/latex/... for package files) starting at /usr/local/texlive/texmf-local. You'll need to run

sudo mktexlsr

and give your admin password if you place the files in that tree (not necessary if you place files in your personal texmf tree as in the previous paragraph).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list