-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error that could not launch the viewer on Windows 11 #32
Comments
That textopdfshorterror setting doesn't look like it does anything at all, which I would guess is why you're not getting any details about the error. What is the output if you run the pdflatex from a shell prompt? I can't really provide help for Windows users, however. |
The command
The resulted files are @frabjous I totally understand that you do not use Windows, but thank you so much for reading my issue. |
@leanhdung1994 Have you tried running the |
@andregpss I followed the instructions to install it and after pressing F5,F6,F7,F8 respectively, nothing reflects. Can you show your init.lua, thanks! |
The shell command you showed isn't exactly what you have set in your settings. Try the exact command there at the shell (replacing %docroot% with the filename, run from the folder containing the file). |
Knap.mp4 |
In Windows, Neovim can't find Knap, you need to set system variables: |
@mathlab08 Could you explain where in Windows I should put such commands?
It seems you attachment has not been uploaded yet... |
@mathlab08 I think it's not necessary to set these environment variables. I didn't need to do that. I installed I recorded the video below to show how the knap works. First I test knap_test.mp4 |
The whole point of having configurable settings is so you can use whatever programs you want. You shouldn't have to rename something externally, and I'd definitely expect breakage if you did. Check if the windows version of Sioyek uses different command line arguments. If you don't know how command line arguments work to reconfigure it, I don't recommend that you use KNAP. NeoVim not finding KNAP has nothing to do with KNAP. That's a problem with your Neovim package manager or whatever you used to install it. |
@mathlab08 Can you use |
Operating Environment: Install knap and pag. Configured the system variables, and then follow your method of configuring init.lua, can be compiled correctly and synchronous preview PDF , but with sioyek v2.0.0 error. |
@andregpss, as your configuration, in Windows, modify Knap.lua directly by changing the
Modify to
At this point, sioyek v2.0.0 can be previewed. |
@mathlab08 Pretty cool! From what I understand, you changed |
I am using:
My
init.lua
(for Windows as suggested by @andregpss in his comment) is the following:I have a tex file
C:\Users\Akira\Documents\LaTex\test.tex
and open it in Neovim by:e C:\Users\Akira\Documents\LaTex\test.tex
:I press
F7
to launch the viewer. The messagesknap routine started
and thenERR
show up:Could you elaborate on how to solve this issue? @andregpss please help me...
The text was updated successfully, but these errors were encountered: