Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

For no particular reason that I could identify, I was faced with the impossibility to compile any latex document and invariably got this error message each time I tried :

LaTeX: problems after [0] pages

kpathsea: Running mktexfmt pdflatex.fmt
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
I can't find the format file `pdflatex.fmt'!
share|improve this question

1 Answer 1

up vote 6 down vote accepted

I thought I would post this here because it gave me some cold sweats as I could not make any sens of the errror message and have only two month remaining to write my thesis.

In a terminal, just type

sudo texconfig rehash

which should gives

mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.

This solution was found on this website.

share|improve this answer
    
This answer led to another question. It is easier and more conventional to simply use sudo texhash. –  Serge Stroobandt Jun 20 '13 at 9:31
    
Both rehash and texhash produce an analogous output, but I am still returned the same errore message. –  Delio Sep 25 at 13:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.