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.

The Texmaker version is 4.0.2.

I have installed the TeXWorks a couple of months ago and it works fine. Now I want to try TeXMaker, and it gives

error: could not start the command

enter image description here

I just checked that C:/Program Files/Asymptote/asy.exe and C:/Program Files/gs/gs9.07/bin/gswin32c.exe do not exist

share|improve this question
    
Please have a look at this answer Unable to compile TeXmaker 4.0.2 with MiKTeX 2.9 and based on your position/error apply the related trick assuming MiKTeX is installed properly and test the installation by typing at commandline window pdflatex sample2e to get sample2e.pdf. BTW Latest TeXmaker is now 4.0.3 –  texenthusiast Aug 2 '13 at 17:56
    
My guess: You might need to save the file as filename.tex before running QuickBuild. Make sure Ghostscript is installed incase of latex-dvips-ps2pdf route compilation/PSTricks otherwise use pdflatex compilation. –  texenthusiast Aug 2 '13 at 18:02
    
@texenthusiast I m using windows. and it says the pdflatex is not recognized as an internal or external command. And the file is saved before I try to compile it. –  Tiina Aug 2 '13 at 18:12
1  
may be MiKTeX PATH is not set properly test the installation with pdflatex sample2e at commandline window to ensure if it's correct –  texenthusiast Aug 2 '13 at 18:13
    
In Worst case Options-->Settings file-->Reset settings and Remember to save the settings file somewhere for backup incase required. Restart TeXmaker so that TeXmaker automatically configures the latex dvips executables –  texenthusiast Aug 2 '13 at 18:15

2 Answers 2

up vote 2 down vote accepted

Please have a look at this answer Unable to compile TeXmaker 4.0.2 with MiKTeX 2.9 and based on your position/error apply the related trick assuming MiKTeX is installed properly and test the installation by following steps

  • when you run cmd from Start Menu search it would open at C:\Users\username>
  • type cd Desktop to get C:\Users\username\Desktop>
  • now type pdflatex sample2e to get sample2e.pdf then it is confirmed that installation is working properly and Path is set ok.

  • also Type at C:\Users\username\Desktop> Path to see if there is MiKTeX bin like C:\Program Files (x86)\MiKTeX 2.9\bin depending where it was installed on 32 bit or 64 bit OS and MiKTeX Distro

Latest TeXmaker is 4.0.3 released on July 29th 2013.

In Worst case Options-->Settings file-->Reset settings and Remember to save the settings file somewhere for backup incase required. Restart TeXmaker so that TeXmaker automatically configures the latex dvips executables

Note : You might need to save the file as filename.tex before running QuickBuild. Make sure Ghostscript is installed incase of latex-dvips-ps2pdf route compilation/PSTricks otherwise use pdflatex compilation.

share|improve this answer

You have to install Tex Live. Then it can start the command. http://tug.org/texlive/acquire-netinstall.html

share|improve this answer
    
Welcome to TeX.SX! –  Adam Liter Apr 10 at 17:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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