TeX Live and MacTeX ⇒ error: 'can't find the format file tex.fmt'
error: 'can't find the format file tex.fmt'
kpathsea: Running mktexfmt tex.fmt
I can't find the format file `tex.fmt'!
It looks like a problem with the path. I've searched the FAQ and this forum but I can't find anything useful. Is there an obvious solution or shall I set out all the things I've tried and what happened?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
error: 'can't find the format file tex.fmt'
Code: Select all
fmtutil-sys --all
Best regards and welcome tot he board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: error: 'can't find the format file tex.fmt'
/usr/local/texlive/2008/texmf-var/web2c/tex/tex.fmt
along with all the other formats so when it says it can't find the file it is not because the file isn't there it is because it (kpathsea) is not looking in the right place. I created a link to the file in my home directory and there was then no error message about the format file but it couldn't find cmr12.tfm and again the tfm files are all there in the right place. So it is a path problem. My path is
/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/texlive/2008/bin/i386-linux:.:/home/solon/bin:/sbin:/usr/sbin
and I own the tree /usr/local/texlive. Is that ok? I'd like to track what kpathsea is doing; is there a way of doing that? Also I'd like to know where the format file error message comes from; I've searched but not found it.
Tony Sumner