Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

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?

share|improve this question

marked as duplicate by egreg, Adam Liter, Heiko Oberdiek, Svend Tveskæg, Sean Allred Mar 30 at 23:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
It should be -interaction=nonstopmode with a dash. –  Sigur Jan 29 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? –  user10624 Jan 29 at 17:08

1 Answer 1

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.

share|improve this answer
    
So, I didn't remember my other answer. You found it! –  Sigur Jan 29 at 18:19

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