6

I'm using MikTeX 2.9 and TeXstudio 2.6.6. The path to MikTeX is correct and in "Check LaTeX installation" the process exite normally.

My problem is when I tried to "Build & View" (F1) an error message pops up with the message:

Could not start Build and View:PdfLaTeX:pdflatex.exe -synctex=1 interaction=nonstopmode

and no log file is found.

Using TeXWorks the process is done without any problems.

I like using TeXstudio, what can I do to fix this?

3
  • It should be -interaction=nonstopmode with a dash.
    – Sigur
    Commented Jan 29, 2014 at 15:33
  • I tried with the dash. Same error. But when i tried ps2pdf.exe "System".ps occurred a Unrecoverable error: MiKTeX GPL Ghostscript 9.05...exit code 1...and Process exited normally. Does this help?
    – Xico
    Commented Jan 29, 2014 at 17:08
  • I had this problem, because accidentally I had a filename filename.txt instead of the default filename.tex.
    – Matsmath
    Commented May 24, 2020 at 15:30

1 Answer 1

3

I Found the answer in there Question

I changed my Command line to:

"D:\Program Files\MiKTeX\miktex\bin\pdflatex.exe" -synctex=1 -interaction=nonstopmode %.tex

and it work. Thanks for the help. And a special thanks to Sigur.

1
  • So, I didn't remember my other answer. You found it!
    – Sigur
    Commented Jan 29, 2014 at 18:19

Not the answer you're looking for? Browse other questions tagged .