I was writing my own thesis in LaTeX, but when I press the "Build & View" button, it doesn't work and this message appears:
Error: Could not start the command: Build & View.
I have written almost three chapters and I didn't have any error before, but I can't understand this. The only different thing I have written is this: $ T_{ai} $
. I've tried to delete it but the problem still remains. What could I do?
Best Answer
The issue is likely to be caused by an error in the predefined command "Build & View" due to an (un)voluntary modification of this setting. (See in
Options/Configure TeXstudio/Build/Build & View
andOptions/Configure TeXstudio/Commands
.)The easiest way to solve it, is to restore default settings. For this, you just need to delete the
texstudio.ini
file on your computer while TeXstudio is turned off.Note: The
texstudio.ini
file stores all your preferences and customized settings (shortcuts, color sheme, previous files, etc.). You might want to save a backup before deleting it. Then, if you want to restore your customized settings, just copy necessary content of your backup into the newtexstudio.ini
file. (Again, while TeXstudio is turned off: indeed, TXS overwrites thetexstudio.ini
file when closing a session.)