MiKTeX and proTeXtfile not found

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
scnatrajan
Posts: 2
Joined: Sun Nov 29, 2009 5:22 am

file not found

Post by scnatrajan »

Hello all,
I am an absolutely new user of Miktex2.8.For my first attempt to compile, I received an error message file .cls not found. Can somebody please tell me what to do. Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: file not found

Post by josephwright »

Please post a minimal TeX file and the log that you get.
Joseph Wright
scnatrajan
Posts: 2
Joined: Sun Nov 29, 2009 5:22 am

Re: file not found

Post by scnatrajan »

The file I tried to compile is:
\documentclass(article)
\begin(document)
This is my first document
\end(document)
The message I get is:
! LaTeX Error: File `(.cls' not found.
Would appreciate some guidance. Thanks a lot.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: file not found

Post by localghost »

Replace all parenthesis by curly braces. Do some basic reading about LaTeX and its syntax.


Best regards and welcome to the board
Thorsten¹
Post Reply