Sign up ×
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'm using KILE editor. There is no problem when I run others .tex article in Kile. But problem is when I run a thesis article in KILE. This thesis article is running fine in WinEdt.


Is there anything need to add in KILE setting to run the Thesis .tex in KILE?

This is the log file:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=latex 2013.3.7)  25 AUG 2013 23:37
entering extended mode
 %&-line parsing enabled.
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.

! LaTeX Error: File `thesis.cls' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Enter file name: 
! Emergency stop.
<read *> 

l.2 \usepackage
*** (cannot \read from terminal in nonstop modes)

Here is how much of TeX's memory you used:
 10 strings out of 495062
 226 string characters out of 1182645
 45108 words of memory out of 3000000
 3285 multiletter control sequences out of 15000+50000
 3640 words of font info for 14 fonts, out of 3000000 for 9000
 28 hyphenation exceptions out of 8191
 10i,0n,7p,80b,8s stack positions out of 5000i,500n,10000p,200000b,50000s
No pages of output.
share|improve this question
Your editor is just a front end to run LaTeX behind the scenes. Thus unless the two editors are managing to find different TeX installations all should work in the same way. Please let us know what the error(s) are, and also check that the first couple of lines of the .log files are the same when run with the different editors. – Joseph Wright Aug 25 '13 at 17:19
Do you use Kile also on Windows as you use WinEdt or do you use it on Linux? If so, the TeX systems on both operating systems might differ in their package installations and versions. It will need self-contained and minimal example to get closer to a possible solution. Perhaps you can supplement your question by such an example along with the corresponding error message(s) from the log file (*.log). Add the \listfiles command as very first line to this example to get the list of used files at the end of the log. – Thorsten Donig Aug 25 '13 at 17:28
@Thorsten Donig In KILE there is no error showing, cause nothing is appeared. Yes I'm using KILE in Ubuntu and Win-edit in Windows. – Complex Guy Aug 25 '13 at 17:31
@ComplexGuy In the first instance, we need to know where you've put thesis.cls on Windows. What does kpsewhich thesis.cls at the Command Prompt on the Windows system give? – Joseph Wright Aug 25 '13 at 18:00
let us continue this discussion in chat – Joseph Wright Aug 25 '13 at 18:05

1 Answer 1

The underlying problem here is that thesis.cls was not available on the Linux system. That's because while MiKTeX (Windows) includes a generic 'thesis' class, TeX Live (Linux) does not. I'm not sure I'd recommend using thesis.cls, but as you have the solution is to find the file on the Windows system and copy it to the Linux one. On Windows, it will be inside

<MiKTeX installation folder>\texmf\tex\latex\thesis\

and should be copied to


on the Linux system.

share|improve this answer

Your Answer


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.