TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a peculiar problem. I'm quite new to LaTeX but have used TeXnicCenter with MiKTeX for a while now without any major issues. However today, when I try to compile a .tex document to .pdf, I get the errors shown in the image below.

enter image description here

The exact same files have been working fine ten days ago but now this.

When I open the files directly in MiKTeX and "Typeset" them, they work fine. What is the problem?

share|improve this question

closed as too localized by Alexander, Kurt, Heiko Oberdiek, cmhughes, Stefan Kottwitz Jun 9 '13 at 21:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I guess when saying "open directly in MiKTeX" you mean the included TeXWorks editor? – marczellm Jun 9 '13 at 11:22
Your path variable is being parsed as TeX directive. See \MikTeX part in the first error. I guess you forgot a brace { somewhere. – percusse Jun 9 '13 at 11:22
Percusse is correct, but the reason for that is still strange. I would suggest you delete your TeXnicCenter output profiles and regenerate them using the builtin assistant. It should call pdflatex then as follows <path to pdflatex>\pdflatex.exe -interaction=nonstopmode "%wm". – Alexander Jun 9 '13 at 11:40
@Alexander Look at where the CV file is stored. I'm more inclined to believe that this is a user error. I also believe that this is after an \input statement. – percusse Jun 9 '13 at 19:07
Thank you for your fast input, but I have not gotten it working yet. @Kurt The name of the tex file seems irrelevant, I get the same errors with/without using blanks, å, ä, ö in the filename. – Tune Jun 9 '13 at 20:06

The problem was solved by running TeXnicCenter as Administrator (Windows 7).

Not sure why it was needed this time though when I have not needed it before. Now after compiling once as administrator it works fine running TeXnicCenter as a "normal" user.

share|improve this answer

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