LaTeX forum ⇒ LEdProblem with compilator

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

Problem with compilator

Postby askenazy » Tue Oct 09, 2012 2:02 pm

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 9021
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Oct 09, 2012 4:10 pm

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
Site admin

askenazy
Posts: 3
Joined: Tue Oct 09, 2012 1:43 pm

Postby askenazy » Tue Oct 09, 2012 5:22 pm

  1. \documentclass{article}
  2.  
  3. \begin{document}
  4. dokument
  5. \end{document}

It compiles correctly from Windows command line. But not in LEd :(

This is the message from the compiler.
  1. This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
  2. entering extended mode
  3. ! Undefined control sequence.
  4. <*> C:\Temp
  5. \latex proba.tex C:
  6. ?
Attachments
LEd-Message.jpg
LEd-Message.jpg (18.69 KiB) Viewed 6969 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 9021
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Oct 09, 2012 7:19 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
Site admin

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Tue Oct 09, 2012 7:37 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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


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

User avatar
Stefan Kottwitz
Site Admin
Posts: 9021
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Oct 09, 2012 8:01 pm

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
Site admin

askenazy
Posts: 3
Joined: Tue Oct 09, 2012 1:43 pm

Postby askenazy » Tue Oct 09, 2012 9:16 pm

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 6958 times
problem2.JPG
problem2.JPG (22.26 KiB) Viewed 6958 times


Return to “LEd”

Who is online

Users browsing this forum: No registered users and 0 guests