How do I make TeXstudio find the MiKTeX file?
I downloaded the MiKTeX distribution first and then TeXstudio and put them in the same folder.
I have tried reinstalling TeXstudio and I have tried deleting the
.ini file but neither works...
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
I have downloaded both in portable versions and just fix it adding: "....\texmfs\install\miktex\bin" to Path in System Variables in Environment Variables.
I faced the same problem. I solved the problem this way:
Options > Configure TeXstudio... > Commands > LaTeX
The LaTeX-commands can be found in a sub-folder of the MiKTeX installation folder.
First time, I tried: "C:/Program Files/LaTeX/MiKTeX 2.9/tex/latex/imakeidx.sty"
After a reboot of TeXstudio, it was able to find most of the other commands too.
Then I realized that this line should actually be pointed to the bin file.
For me that was "C:/Program Files/LaTeX/MiKTeX 2.9/miktex/bin/x64/latex.exe".
It doesn't work perfect yet, but at least it is now able to read and compile something. I hope this helps you too.
Close TeXStudio. In Windows Explorer navigate to some folder like: C:\Users\YOUR_ACCOUNT_NAME\AppData\Roaming\texstudio
Delete texstudio.ini file.
This fixed it for me.
put only in dvi something like that
DVI Viewer (view-dvi): '"C:\Program Files (x86)\texmf\miktex\bin\yap.exe" -1 -s @?"c:ame "?am.dvi"'
and in another option put for default
I installed miktex system wide manually
and then used
choco install texstudio in powershell to install texstudio.
After that TeXstudio could find latex and worked perfectly.