LEdProblem with compilator

Information and discussion about LEd, an integrated LaTeX environment for Windows
Post Reply
askenazy
Posts: 3
Joined: Tue Oct 09, 2012 1:43 pm

Problem with compilator

Post by askenazy »

Led do not compile any document writen in tex.
After click on compilation button nothing happen at all.
Thought, that problem is in uncorrect path. This path is (in option)

C:\Program Files\MiKTeX 2.8\miktex\bin\latex.exe

There is obviously this file in bin folder but after try to compile I get

09-10-2012 11:43:25: START /b/c1/c"C:\Program Files\MiKTeX 2.8\miktex\bin\latex.bat" "C:\Temp\latex" "plik.

There are no latex.bat anywhere. I change manualy from latex.exe to latex.bat

After this Led started compiling, but immediately show an error

"Undefined control sequence"

So I change in option once again and change manually

C:\Program Files\MiKTeX 2.8\miktex\bin\latex.exe
to
C:\Program Files\MiKTeX 2.8\miktex\bin\latex.bat

After that there an still error "Undefined control sequence" and I don't know what to do. Please help

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Problem with compilator

Post by Stefan Kottwitz »

Hi askenazy,

welcome to the board!

Undefined control sequence means that there's a LaTeX error in your document, for example there may be an undefined command. Try a simple LaTeX document, or post your example code here.

The LaTeX compiler seems to run, because you can see this error message.

Stefan
LaTeX.org admin
askenazy
Posts: 3
Joined: Tue Oct 09, 2012 1:43 pm

Problem with compilator

Post by askenazy »

Code: Select all

\documentclass{article}

\begin{document}
dokument
\end{document}
It compiles correctly from Windows command line. But not in LEd :(

This is the message from the compiler.

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
! Undefined control sequence.
<*> C:\Temp
           \latex proba.tex C:
?
Attachments
LEd-Message.jpg
LEd-Message.jpg (18.69 KiB) Viewed 26576 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Problem with compilator

Post by Stefan Kottwitz »

Would you like to keep using LEd? The last release of this editor is exactly 3 years ago. There are many other editors. MiKTeX installs TeXworks, an editor which I like very much. Perhaps try, if it's already installed. If you prefer a more complex editor, TeXnicCenter and Texmaker are recommendable with Windows.

Regarding the problem with LEd, it seems that the LaTeX call tries to compile the file name, but not the file.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Problem with compilator

Post by localghost »

Stefan_K wrote:[…] MiKTeX installs TeXworks, […]. Perhaps try, if it's already installed. If you prefer a more complex editor, TeXnicCenter and Texmaker are recommendable with Windows.[…]
Since TeXworks is part of MiKTeX 2.9, an upgrade of your TeX distribution could come in handy.

I would recommend against TeXnicCenter (TXC). TXC1 RC1 does not manage Unicode and has problems with the automatic package installation mechanism of MiKTeX. TXC2 is still in alpha state. Nobody is really motivated to install alpha versions. Its development does not achieve noticeable progress. Strictly speaking there has never been a final release of TXC. I agree with Stefan that TeXmaker is an editor that you should give a try.


Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Problem with compilator

Post by Stefan Kottwitz »

Two small additions:
  • An update of MiKTeX to 2.9 would be a good idea in general. Usually older versions of MiKteX lose update support at some time.
  • TeXworks can be downloaded and installed indepently of MiKTeX. If you would like to keep version 2.8, perhaps have a look at the link provided by Thorsten, if the editor would seemd to be interesting for you, and try it then.
Stefan
LaTeX.org admin
askenazy
Posts: 3
Joined: Tue Oct 09, 2012 1:43 pm

Re: Problem with compilator

Post by askenazy »

Thank you for your help.
Unfortunately it still doesn't work. I tried TeXMaker.
When I tried to compile it get me an error message:
! LaTeX Error: File `article.cls' not found.
I don't know why, because in this localisation there is a file article.cls :((((
When I try to point out it, and put this localisation
Attachments
problem4.JPG
problem4.JPG (27.48 KiB) Viewed 26565 times
problem2.JPG
problem2.JPG (22.26 KiB) Viewed 26565 times
Post Reply