-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SumatraPDF error despite having variables added to PATH, vimtex_compiler_progname not executable #2134
Comments
According to the output you show, SumatraPDF is still not available to your Vim or neovim instance. Perhaps vim/neovim do not have the same path as your system? You have not supplied any information about your configuration and similar. Please do. (Do you expect me to understand implicitly which options you use?) The only thing I am quite sure of is that you use Windows. I do not understand if you use Vim or neovim, I do not know which options you have used for VimTeX, I do not know which versions of OS and software you use, etc.
Yes: The warning shows up because you do not have
It would be helpful if you could open a LaTeX file and run |
Hey, sorry it's been a while and didn't get back to it till now. About the first part, right now I got that to work - the system needs to be restarted. Didn't think of that!
|
Huh, strange. Can you:
I believe it should work now after a minor update from my side. Which version of Windows do you use? If you open a cmd prompt (windows key, type "cmd"). It should open a terminal. In the terminal, type "systeminfo" + enter; what's the output? |
Edit:
Unfortunately, it still is complaining when I try to use
(when running cmd as administrator - systeminfo doesn't work when i use cmd prompt normally) |
Well, you never really gave any information about your configuration. I believe you have changed e.g. the The issue template explains how to setup a minimal example. Can you try to setup a minimal vimrc and minimal tex file and see if it works then? |
I have been able to fix the windows not recognizing the terminal issue, but now it cannot find cmd.exe. The original issue has been fixed; I believe the rest is just bugs to work out with Windows setup and not on the side of Vimtex itself. (I noticed other plugins and vim-plug itself also have troubles) Thanks so much for helping in the previous posts. |
Glad to hear it! |
I assume this vi.stackexchange.com question was by you? Since it seems you may have resolved your issue, could you give some clue to what the problem was and how you solved it? |
Description
SumatraPDF is installed on the computer and I also added the directory to the path (tried both the executable and the folder that contains said executable), but it keeps throwing this error:
Additionally, does anyone know why the second error
g:vimtex_compiler_progname
is not executable?Thanks!
Steps to reproduce
Vim:
vim
neovim:
nvim
Then just check using
:checkhealth
to see that it doesn't work.Expected behavior
SumatraPDF and compiler progname should not show up as errors.
Actual behavior
They instead show up as not executable as detailed in this image:
Do you use a latexmkrc file?
No
VimtexInfo
Haven't used a Latex file because I've been a bit worried about the setup.
The text was updated successfully, but these errors were encountered: