Konnte den befehl nicht starten. pdflatex -synctex=1 -interaction=nonstopmode %.tex

The comments already provide good information. Much of it has been written many times, in response to many users, who have problems with (Mik)TeX on Windows, using a GUI. Commenters, please forgive me if I attempt to summarize your info as an answer:

I am specifically addressing users who have used TeX before, in any content. So the question is "Why does it not work now, when it worked in the past?" rather than "Help me, I know nothing about TeX."

(1) Windows has various file permission strategies, which sometimes confuse a program installer. This is especially the case when you computer has migrated through Windows 7-8-10, but also applies to those using a fixed version of Windows.

One tactic is to perform an "administrative install" of TeX. To do that, right-click on the installer, and pick from the context menu. You will get a warning message. This can only be done if you are an administrator, of course. However, I advise against installing any program on Windows with administrative rights. The program will likely install, but you are inviting trouble.

Another alternative (which I heartily recommend) is to get a "portable" installer for your TeX system. MikTeX has a portable version. TeXLive can also be installed in portable fashion, using the same installer as you ordinarily would use.

Then, you install TeX into a convenient sub-folder of your user home directory (preferably avoiding paths with spaces or underscores in the name). You can even install to a USB. And, when finished, you can copy the installation and use the copy on a different computer.

If the issue involves file permissions, the portable installation avoids those issues, without requiring administrative rights.

(2) Sometimes, the problem involves an interaction between the GUI (TeXStudio, WinEdt, etc.) and the TeX installation.

To see if this is the case, attempt to compile your document via command line.

If your TeX installation is not portable, do this: Open a command prompt in the directory where your *.tex document is located. Then type whichever one of these commands is closest to what you are trying to do:

pdflatex nameofyourdocument.tex lualatex nameofyourdocument.tex xelatex nameofyourdocument.tex

If that fails, then the problem is with the TeX installation rather than the GUI. If it succeeds (look for the PDF in the same folder) then the problem is an interaction with the GUI.

If instead your TeX installation is portable, then (in Windows) launch it, so that its menu appears. From its menu, choose a command prompt. Then do the above.

(3) If you are using a GUI and it cannot locate TeX at all, then use its program menu, and see if you can change something in the configuration, where it will look for TeX binary files.

(4) This does not solve every problem. But it does seem to address most issues on Windows.

(5) On the other hand, the most common problem among Linux users is having a distro-installed TeX (or portions remaining from previous installation) conflicting with a manually-installed TeX.

Ich benutzt MikeTex 2.9 in Verbindung mit Texniccenter und möchte PDF's erstellen.

Die Vorgeschichte:

Ich habe bereits ein größeres Dokument mit Hilfe einer Vorlage erzeugt. Hat alles wunderbar funktioniert. Nun wollte ich mir ein Dokumente selber zusammenbauen bauen. Hat auch alles wunderbar funktioniert bis ich an die Problematik mit dem zitieren kam. Biber hat aus irgendeinem Grund die Arbeit verweigert. Irgendwelche Dateien wurden nicht gefunden obwhl sie da waren woe sie gesucht wurden. Ich habe Miktex und Texniccenter neu installiert in der Hoffnung das es Hilft.

% Edit nach dem ersten Kommentar%

Also mein Vorgehen beim planlosen deinstallieren und neu installieren sah so aus:

1.) Ich hab alles was in irgendeiner Beziehung Latex stand deinstalliert.
2.) Hab nur Miktex installiert und in dem mitgelieferten Editor(Texworks) ein Minibeispiel geschrieben und erfolgreich eine pdf erzeugt.
3.) pdflatex.exe direkt gestartet und versucht aus der in Schritt (2) erstellte TEX-Datei erneut in eine pdf zu erzeugen. Kriegt dan in der Konsole ne Fehlermeldung bezügliche fehlender.aux Datei.
4.) Nur zum Test habe ich dann jeweils Texniccenter bzw. TexStudio installiert und versucht die Datei aus (2) auszuführen. Texniccenter sagt "0 fehler 0 warnungen 0 seiten" und TexStudio meckert auch wegen der .aux rum.

Beide Editoren aus (4) erzeugen keinerlei andere Dateien. Also auch keine Logdatei die bei der Fehlersuche helfen könnte. Konfiguriert sind beide korrekt, da beide Editoren mit identischen Einstellungen schonmal funktioniert haben. die Geschichte mit Biber spielt jetzt momentan keine Rolle, da ich erstmal wieder eine grundlegende Funktion herstellen will.

Sachen die ich zusätzlich schon Ausprobiert habe.

  • Gründliche Reinigung der Registry nach der Deinstallation
  • Bereinigung der Festplatte von Temporären und Config-Dateien
  • nutzen der "ausführen als Administratorfunktion"
  • Installation der portable Versionen auf nem Usb-Stick

Fehlermeldung von pdflatex.exe

Konnte den befehl nicht starten. pdflatex -synctex=1 -interaction=nonstopmode %.tex

Der Code der Tex Datei :

Open in writeLaTeX

\documentclass{article} \begin{document} Hello world! \end{document}

Also hab jetzt noch ein bisschen rum getestet. Wenn ich die portable Installation von Miktex nutzte funkitoniert jetzt alles wieder tiptop. Also Prompt, eingebauter Editor und fremde Editoren funktionieren. Wenn ich aber die normal Installation von Miketex nutz, verweigern mir die Editoren wieder die Arbeit. Hab auch nochmal Texlive als Alternative getestet. Promt und eingebauter Editor geht auch dort. Wenn ich aber fremde Editoren nehme passiert wieder nichts.

Ich vermute also dass irgendwas in meinem System die Funktionalität der regulären Installation behindert. Gibs ne Möglichkeit das zu beheben oder sollte ich bei Zeiten mein System neu aufsetzen?