WinEdt ⇒ Compilation impossible
Compilation impossible
But this is the most frequent, weird and incomprehensible problem that I could find ever. Now I have to write my thesis but any of my LaTeX files (even the sample/example documents) are not beeing compiled. I've a full installation of MiKTeX and I'm using WinEdt. The error snapshot is attached with the message. Any help in this regard will highly be appreciated.
A quick solution is needed as I'm not able to compile any single document. Thanks in advance.
- Attachments
-
- problem2.jpg (98.78 KiB) Viewed 14446 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Compilation impossible
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Compilation impossible

showing undefined 'control sequence \documentclass'

kindly see the snapshot
- Attachments
-
- prob 3.jpg (102.14 KiB) Viewed 14435 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Compilation impossible
Are you sure that you compiled with PDFLaTeX and not only with PDFTeX? At least the first line of the resulting log would be important.tabenda wrote:[…] showing undefined 'control sequence \documentclass' :? […]
The quality of your screen captures is rather bad. They don't let me recognize the relevant details. It would be better if you provide only captures of the concerned window and not a complete screen dump. Furthermore you should check the quality before posting.tabenda wrote:[…] kindly see the snapshot
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Compilation impossible
You can open your log file and append the concerning details to your posts, or even attach your complete log to your post.
Best regards
Johannes
Re: Compilation impossible
No other window appears.
The command window or error shown in my second post appears when I use to compile it using TEX icon.
Sorry for poor quality snapshots kindly see the attached.
I am not sure that I am running it using command window. I just complied it using TEX icon.
Is there any other way to run it from command window???
- Attachments
-
- prob 3.jpg (101.67 KiB) Viewed 14438 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Compilation impossible
The seems to indicate some problems with the WinEdt settings. So ask I again whether you did any modifications to these settings.tabenda wrote:well, I get the error shown in my first post when use PDF texify or PDF Latex icons directly. […]
And that's the crucial mistake. You have to use the "PDFLaTeX" button. I'm surprised that as an advanced user you don't know that.tabenda wrote: The command window or error shown in my second post appears when I use to compile it using TEX icon. […] I just complied it using TEX icon. […]
Open a command line via "Start" menu. If I remember correctly, pressing "Win+R", typing "cmd" and confirming with "Enter" should start it. Navigate to the folder with your document and type in the following.tabenda wrote:Is there any other way to run it from command window???
Code: Select all
pdflatex document
By the way, after finishing your thesis you should think about upgrading your TeX system. MiKTeX is seven years old and has reached its end of life with the end of 2008. This won't allow you to install updates.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Compilation impossible
- Attachments
-
- prob 3.jpg (146.46 KiB) Viewed 14437 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Compilation impossible
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Compilation impossible
Thank you so very much for your prompt response.
Regards