TeX Live and MacTeX ⇒ Problem with TexLive2007 (can't find latex.fmt)
Problem with TexLive2007 (can't find latex.fmt)
when I run latex I get this:
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
kpathsea: Running mktexfmt latex.fmt
I can't find the format file `latex.fmt'!
now, I googled this and there's a lot of stuff found on this topic but none of that really helped me.
I have installed the same software on Ubuntu Gutsy Gibbon and it worked fine
can somebody give me a hint?
(PATH variable to the binaries is set though)
regards
Fab
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
Problem with TexLive2007 (can't find latex.fmt)
Code: Select all
fmtutil-sys --all
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with TexLive2007 (can't find latex.fmt)
did you install the texlive-latex package?
If fmtutil-sys --all doesn't help, check if the TEXINPUTS environment variable has been set, it should be empty during installation I think.
Stefan
Problem with TexLive2007 (can't find latex.fmt)
I think the TEXINPUTS variable is not set. I'm not sure to which directories this variable have to point?
It's a bit confusing because I didn't have to set this variable after the installation on Ubuntu Gutsy and TexLive worked on that system.
thank you guys for helping me out so far!
regards
Fab
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with TexLive2007 (can't find latex.fmt)
just type
Code: Select all
echo $TEXINPUTS
Stefan
Re: Problem with TexLive2007 (can't find latex.fmt)
The only difference between the two systems is the installation path. TexLive on the system where it's not working right now is not installed to the default path. I think the cause must be somewhere there. I might take TexLive off the hard drive again and reinstall it to the default path if this takes no end.
thanks
Fab
Problem with TexLive2007 (can't find latex.fmt)
Did you Google the error message in quotes? I did that and found this:waxranger wrote:This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
kpathsea: Running mktexfmt latex.fmt
I can't find the format file `latex.fmt'!
now, I googled this and there's a lot of stuff found on this topic but none of that really helped me.
That thread ends in the person fixing their problem. Fix for you?
Re: Problem with TexLive2007 (can't find latex.fmt)
But I made TexLive work. The problem probably was AUCTeX. I did check apt-get for any TexLive binaries, because I've downloaded my TeXLive version from CTAN and installed off the cd media and not via aptitude. So there is a package called TexLive-base-bin which comes with AUCTeX. I think because I've installed the AUCTeX package before I did TeXLive off the CD, my system pointed to the wrong binary location?! (Although I did set the $PATH variable up to date right after the installation) Anyway, removed AUCTeX with apt-get remove and reinstalled it right after and now TeXLive is compiling fine.
Since that solved my problem, I'd like to ask for help on another..
when I want to create .dvi output, I get a .pdf. So I checked the binaries of TeXLive where the latex executable is symbolic linked to the pdftex executable. Is this the reason for my wrong output format? Never had this problem before
thank you guys for the support!!
regards
Fab
Problem with TexLive2007 (can't find latex.fmt)
No, that's not exactly the problem.waxranger wrote:when I want to create .dvi output, I get a .pdf. So I checked the binaries of TeXLive where the latex executable is symbolic linked to the pdftex executable. Is this the reason for my wrong output format? Never had this problem before
As of the latest version of TeXLive, all TeX is PDFTeX, but that name is deceiving. PDFTeX is just a TeX that can produce PDF's. You can use the --output-format switch to specify which format you want. For example
Code: Select all
latex --output-format=dvi myfile.tex
Code: Select all
latex --output-format=pdf
Check your compiler configuration and add the switch if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with TexLive2007 (can't find latex.fmt)
check your document if you have a pdftex option set, for instance to graphicx like
Code: Select all
\usepackage[pdftex]{graphicx}
Stefan