[OS X TeX] TexShop suddenly can't find pdflatex.fmt (even though it's there)

Martin Costabel costabel at wanadoo.fr
Wed Sep 10 21:18:57 CEST 2008


Nathaniel Pearson wrote:
> Hi Herb,
> 
> Thanks for helping.  I'm not sure what my $PATH is (sorry, I'm a linux 
> amateur here...).  which latex gives:
> 
> /sw/bin/pdflatex
> 
> Texshop typesetting prefs:
> Default command: latex
> Default script: pdftex
> 
> Engine prefs: path settings for pdftex: /usr/texbin
> distller: /usr/local/bin
> 
> Does that help explain what's happening?  Thanks,

You need to tell your system that it should look in /usr/texbin before 
/sw/bin. For this, you edit the file

   ~/.bash_profile

(this is the default, if you don't have it, it could also be
~/.bash_login or ~/.profile). There is a line

   test -r /sw/bin/init.sh && . /sw/bin/init.sh

in this file. Add another line

   export PATH=/usr/texbin:$PATH

after the one with /sw/bin/init.sh.

Once you have done this and opened a new Terminal window, `which latex`
should give /usr/texbin/latex.

-- 
Martin





----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list