Tell me more ×
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.

I am trying to compile my latex code for my thesis. It so far worked OK for my first 3 chapters. I have included more than 40 figures (.eps). Suddenly I returned following error for my new figures.

! LaTeX Error: File `NormalFit1' not found. 
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.78 ...cludegraphics[centre, scale=1]{NormalFit1}
I could not locate the file with any of these extensions:
.eps,.ps
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Package keyval Error: centre undefined.
See the keyval package documentation for explanation.
Type H <return> for immediate help.
...

Do anybody know why it happens like this?

share|improve this question
1  
That shows two errors. the second one tells you there is no key centre defined but you have ...cs[centre the first one tells you that NormalFit1 is not found. Without evidence to the contrary the most common reason for files not being found is that they are not there:-) – David Carlisle Jul 13 '12 at 16:24
@DavidCarlisle Files are in the directory. I did the same thing for my first 3 chapters (i.e., centre etc. I just copied from last chapter (which worked) and changed the file name, label and caption). I wonder is there any limit or is there anyway to set the figure limits for a document. – Tham Jul 13 '12 at 16:59
You are using latex, not pdflatex? – Martin Scharrer Jul 13 '12 at 17:50
There is no limit. The graphic is not found. Recheck the file name. Look for spaces and other almost invisible chars. – Ulrike Fischer Jul 13 '12 at 18:21
Thanks guys. It works now. – Tham Jul 26 '12 at 8:52

closed as too localized by Joseph Wright Aug 4 '12 at 21:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.