<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have just upgraded to, or more specifically - installed a parallel distribution of, TeXLive-2009.  Since doing so, I have found that typesetting LaTeX does not work correctly when the document references locally held "personal" class, style, bib or other files stored in ~/Library/texmf.  The errors are included below (with some personal info redacted):<div><br></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS', Helvetica, sans-serif; font-size: 13px; ">----------</span><br><div><br></div><div><span class="Apple-style-span" style="font-family: 'Trebuchet MS', Helvetica, sans-serif; font-size: 13px; "><div><p class="ltxmk" style="color: green; display: block; margin-top: 0px; ">Latexmk: This is Latexmk, John Collins, 2 December 2007, version: 3.21j.</p></div><div>**** Report bugs etc to John Collins <collins at="" phys.psu.edu="" style="margin-top: 0px; ">. ****</collins></div><div>pdflatex: Changes:</div><div>Non-existent destination files: 'XXXXXXX_XXXXXXXX.pdf' Rules to apply: 'pdflatex'</div><div>------------ ------------</div><div>------------</div><div>Running 'pdflatex -interaction=nonstopmode -file-line-error-style -interaction=nonstopmode -file-line-error-style -synctex=1 "XXXXXXX_XXXXXXXX.tex"' ------------<p class="ltxmk" style="color: green; display: block; margin-top: 0px; ">Latexmk: applying rule 'pdflatex'...</p></div><div>This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) restricted \write18 enabled.</div><div>entering extended mode</div><div>(./XXXXXXX_XXXXXXXX.tex LaTeX2e <2009/09/24> Babel <v3.8l style="margin-top: 0px; ">and hyphenation patterns for english, usenglishmax, dumylang, nohyphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, monogreek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded. ! LaTeX Error: File `gregsarticle.cls' not found. Type X to quit or <return style="margin-top: 0px; ">to proceed, or enter new name. (Default extension: cls) Enter file name: ./XXXXXXX_XXXXXXXX.tex:2: Emergency stop. <read *="" style="margin-top: 0px; ">l.2 \usepackage {amssymb} %maths^^M ./XXXXXXX_XXXXXXXX.tex:2: ==> Fatal error occurred, no output PDF file produced! Transcript written on XXXXXXX_XXXXXXXX.log.</read></return></v3.8l></div><div><p class="ltxmk" style="color: green; display: block; margin-top: 0px; ">Latexmk: Missing input file: 'XXXXXXXXXXXX.cls' from line</p></div><div>'! LaTeX Error: File `XXXXXXXXXXXX.cls' not found.'</div><div><p class="ltxmk" style="color: green; display: block; margin-top: 0px; ">Latexmk: Did not finish processing file: 'pdflatex' did not make '<span class="Apple-style-span" style="color: rgb(0, 0, 0); ">XXXXXXX_XXXXXXXX</span>.pdf'</p></div><div><p class="ltxmk" style="color: green; display: block; margin-top: 0px; ">Latexmk: Errors, in force_mode: so I tried finishing targets</p></div><div>Application 'Skim' not running</div><div>The file /Users/XXXX/Desktop/XXXXXXX-XXXXXXXX/XXXXXXX_XXXXXXXX.pdf does not exist.</div><div>execution error: Can’t make file "Macintosh HD:Users:XXXX:Desktop:XXXXXXX-XXXXXXXX:XXXXXXX_XXXXXXXX.pdf" into type alias. (-1700)</div><div><p class="error" style="color: red; margin-left: 20px; margin-top: 0px; "><strong style="margin-top: 0px; ">error number 256 opening viewer</strong></p><p class="info">Found 0 errors, and 0 warnings in 1 runs</p><p class="info">/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/latexmk.pl -pdf -f -r /tmp/latexmkrc "XXXXXXX_XXXXXXXX.tex" exited with status 12</p><div>----------</div><div><font class="Apple-style-span" face="Helvetica, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;">Now, I initially thought that this might be a problem with the TexLive distribution.  However, when switching between the 2008 and 2009 versions and using TeXShop as the frontend, there are no problems in either version; TexLive-2009 recognizes files under ~/Library/texmf and parses them correctly.  The next thought was that it was an issue with different versions of <a href="http://latexmk.pl">latexmk.pl</a> - but TeXShop doesn't use that script unless it is specifically added on; it's not part of the basic distro.</span></font></div><div><font class="Apple-style-span" face="Helvetica, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;">Quite frankly I'm at a loss to suggest what the cause could be for this behaviour.  On the other hand, there is a fairly simple workaround - just include the necessary class and style files in the directory of the .tex document from which they are referenced.  the ./ path seems to work without problems.  Of course, this defeats the purpose of having ~/Library/texmf, but at least it works.</span></font></div><div><font class="Apple-style-span" face="Helvetica, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div><font class="Apple-style-span" face="Helvetica, Helvetica, sans-serif"><span class="Apple-style-span" style="font-size: medium;">Hopefully someone with more expertise with the guts of the LaTeX bundle and/or TeXLive will be able to figure this out.</span></font></div></div></span></div></div></body></html>