I just downloaded first MiKTex 2.9 and then TeXmaker 4.0.2. However, I am having a hard time getting it to compile. I always get the info box saying Can't detect the file name
followed by the info box saying Could not start the command
.
In the Configure Texmaker
-> Commands
options box I have set the path in the bottom to:
"C:/Program Files (x86)/MiKTeX 2.9/miktex/bin"
I have also tried putting this file path in the specific command paths above (together with the filenames). But neither helps. I have been looking around at this and other Tex pages, and other people have asked the same question. I have tried to do, what they were advised to do, but is has not help.
I hope that somebody can help me.
pdflatex -synctex=1 -interaction=nonstopmode %.tex
in pdflatex command box. You might need to restart the windows to take the miktex bin path into effectpdflatex
orlatex
engine needsfilename.tex
file which is created by TeXmaker only when you save it with filename. there is no need to touch the "Add to PATH" commmand line in TeXmaker. Once MiKTeX is installed and Computer is restarted you will get miktex bin path automatically added to system PATH. So the default configuration works. Incase you need addpdflatex -synctex=1 -interaction=nonstopmode %.tex
topdflatex
andlatex -interaction=nonstopmode %.tex
forlatex
in TeXmaker configure command box