## LaTeX forum ⇒ LEd ⇒ Problem with compilator

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

### Problem with compilator

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

Stefan Kottwitz
Posts: 9285
Joined: Mon Mar 10, 2008 9:44 pm

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

Posts: 3
Joined: Tue Oct 09, 2012 1:43 pm
\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.
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 (18.69 KiB) Viewed 7575 times

Stefan Kottwitz
Posts: 9285
Joined: Mon Mar 10, 2008 9:44 pm
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

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
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
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Stefan Kottwitz
Posts: 9285
Joined: Mon Mar 10, 2008 9:44 pm

• 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

Posts: 3
Joined: Tue Oct 09, 2012 1:43 pm
Unfortunately it still doesn't work. I tried TeXMaker.
When I tried to compile it get me an error message: