WinEdt ⇒ Compilation impossible
Compilation impossible
I am a good LaTeX user and using it for almost five years.
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.
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 13880 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Compilation impossible
Did you change something significantly in your system configuration? Did you try to compile on the command line?
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Compilation impossible
yes I tried but no use.....
showing undefined 'control sequence \documentclass'
kindly see the snapshot

showing undefined 'control sequence \documentclass'

kindly see the snapshot
- Attachments
-
- prob 3.jpg (102.14 KiB) Viewed 13869 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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
I'm with Thorsten on that matter. I guess you used PDFTeX instead of PDFLaTeX. This happens. And the quality of your screenshots really is bad, it's hard to say, if there are Latin glyphs in the picture.
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
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
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Compilation impossible
well, I get the error shown in my first post when use PDF texify or PDF Latex icons directly.
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???
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 13872 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.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Compilation impossible
oh well I was using PDFLatex icon and getting the discussed error, however, now i 've run it from command line as guided by you. See the snapshot, you may be able to suggest something now, i think,
- Attachments
-
- prob 3.jpg (146.46 KiB) Viewed 13871 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Compilation impossible
As suggested in my last response you need to upgrade your TeX system now. This is inevitable. Either upgrade to the current MiKTeX 2.9 or install TeX Live 2013 instead. Be prepared for other problems because the new system will bring new package versions.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Compilation impossible
Ok I try to get and install it.
Thank you so very much for your prompt response.
Regards
Thank you so very much for your prompt response.
Regards