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.

I've just started using LaTeX for an assignment and got this error:

File 'assignment_1.cls' not found. ^^M

What can I do about this?

share|improve this question
    
You probably start your assignment with \documentclass{assignment_1}, which searches for assignment_1.cls - a document class file - that does not exist. Using \documentclass{article} would work and only saving your source code file as (say) assignment_1.tex. Give some feedback after the above suggestion. –  Werner Apr 1 '12 at 23:47
    
@Werner: Thank you, that did the trick! But another problem came up: The built pdf file has only English symbols and characters, where as my assignment will contain Greek characters as well (greek text). What can I do about that? –  Chris Apr 1 '12 at 23:53
1  
I'll convert my comment into an answer, since that's the format of this Q&A. You subsequent comment would be a new question altogether. Follow-up questions like this are more than welcome! Please use the "Ask Question" link for your new question where you can link to this question to provide the background. Be sure to include a minimal working example (MWE). –  Werner Apr 1 '12 at 23:59
    
Ok, thank you Werner! –  Chris Apr 11 '12 at 0:09
add comment

1 Answer

up vote 2 down vote accepted

Using \documentclass{myclass} requires a file myclass.cls to exist on your system. Since assignment_1 is a non-standard document class, \documentclass{assignment_1} causes an

File 'assignment_1.cls' not found.

error. Rather use one of the standard document classes (like article - preferred in your case, book or report).

share|improve this answer
add comment

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.