enter image description here

this is my work environment...

  • 2
    Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Please change the title of your question as it's misleading, as well as the tag 'bibtex' (probably) – user31729 Apr 6 '15 at 9:51
  • Where do you import this? In the first line of the document? That's really an error. But other errors lurk in the background – user31729 Apr 6 '15 at 9:52
  • 4
    Your comment does not really clearify the question – user31729 Apr 6 '15 at 10:10
  • 4
    i'm not sure tex code is going to help figure out what was going wrong, since this looks like the remnants of a command launched either from the command line or more likely a script from an editor interface. we really need to know exactly what was your environment and what you were doing that resulted in this error. – barbara beeton Apr 6 '15 at 12:55
  • 1
    the visual you've provided identifies the environment as winedt. i'm not a winedt user, so i can't help, but i've added the [winedt] tag to the question in the hope that someone more knowledgeable will notice it, and i'm about to change the title too.. – barbara beeton Apr 6 '15 at 17:20

As you can see from the command line, you've pressed the button 'PDFLaTeX' but you're invoking winedt.exe instead of pdflatex.exe.

This means that you've made a mess with your configuration.

First of all, be sure that you have a TeX distribution installed, either MiKTeX ot TeX Live.

Then, in WinEdt, go to 'Options' -> 'Execution Modes'.

There, press the 'Default' button as indicated in the picture below.

enter image description here

In this way, WinEdt should be able to retrieve all the informations about your TeX distribution automatically.

If it doesn't, click on the tab page 'Diagnosis' for a complete diagnosis of your system. There WinEdt will inform you about all the things you're missing in your configuration.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.