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

Bruno Voisin bvoisin at me.com
Thu Sep 11 00:15:43 CEST 2008


Le 10 sept. 08 à 23:44, Nathaniel Pearson a écrit :

> Ok, when I do fmtutil-sys --all I get:
>
>    /usr/texbin/fmtutil: line 336: /texconfig/tcfmgr: No such file or  
> directory
>    fmtutil: config file `fmtutil.cnf' not found.

Did you sudo before ftmutil-sys, and if so does the -H option change  
anything, as in

	sudo -H fmtutil-sys --all

Looking more closely, line 336 of the script /usr/texbin/fmtutil  
corresponds to the instruction

###############################################################################
# tcfmgr(args)
#   call tcfmgr script
###############################################################################
tcfmgr()
{
   initTexmfMain
   "$MT_TEXMFMAIN/texconfig/tcfmgr" "$@"
}

So it seems fmtutil is expecting to find a directory texconfig  
containing a script tcfmgr and itself contained within the texmf tree  
TEXMFMAIN, defined (in MacTeX 2008) by /usr/local/texlive/2008/texmf/ 
web2c/texmf.cnf to be /usr/local/texlive/2008/texmf (translate the  
2008 to 2007 for your setup).

So it seems you should have a directory /usr/local/texlive/2007/texmf/ 
texconfig. If you don't, or if it's there but fmtutil doesn't find it,  
then there's something seriously wrong with your setup. Personally I'd  
consider installing and switching to MacTeX 2008.

> I do have fmtutil.cnf files, in:
>
> /usr/local/texlive/2007/texmf/web2c/
> /usr/local/texlive/2007/texmf-var/web2c/

kpsewhich will tell you which is found, if any, as in

	kpsewhich fmtutil.cnf

Here with MacTeX 2008:

$ kpsewhich fmtutil.cnf
/usr/local/texlive/2008/texmf-var/web2c/fmtutil.cnf

Bruno Voisin


More information about the macostex-archives mailing list