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

Nathaniel Pearson nathaniel.pearson at gmail.com
Wed Sep 10 15:50:31 EDT 2008


Ok, I've got /usr/texbin as the lead path in $PATH, have TexShop too
pointing to /usr/texbin for pdftex, and /usr/texbin showing up properly for
`which latex'.  And I've used Fink commander to remove the Fink tex
installation as well.

However, upon typesetting in TexShop I still get the following error:

/urs/local/texlive/2007/texmf-var/web2c/pdftex/pdflatex: unrecognized option
`--synctex=1'
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
\write 18 enabled.
%&-line parsing enabled.
kpathsea: Running mktexfmt pdflatex.fmt
mktexfmt: No such file or directory
I can't find the format file `pdflatex.fmt'!

What might I try next?  Thank you to all who have been helping to solve
this.

On Wed, Sep 10, 2008 at 3:18 PM, Martin Costabel <costabel at wanadoo.fr>wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20080910/496a5d75/attachment.html>


More information about the MacOSX-TeX mailing list