Skip to content
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

Sioyek auto-closes if opened with Vimtex #1324

Open
codeponics opened this issue Feb 28, 2025 · 2 comments
Open

Sioyek auto-closes if opened with Vimtex #1324

codeponics opened this issue Feb 28, 2025 · 2 comments

Comments

@codeponics
Copy link

I have vim.g.vimtex_view_method set to 'sioyek' and have the exe specified to the exact .exe file. I have not touched any other setting. I am running Lunarvim with defaults.
There are no errors or messages that occur trying to compile .tex but I see briefly a terminal window open/close in an instant blink.
Happening with v2.0.0.

I tried going into :VimtexInfo and then copying the command myself to test if it would work on a regular commandline shell although I had to modify it a bit so cmd would accept it (add some quotes), and that works.

So, I can't really tell if the problem is with Vimtex or if it is with sioyek. But, I had success trying a different PDF reader like SumatraPDF (to have it open when Vimtex compiles) except I would really like to use sioyek. Is this happening for anyone else as well?

@ahrm
Copy link
Owner

ahrm commented Feb 28, 2025

I can't reproduce the issue, does the issue happen on the latest preview release here: https://github.com/ahrm/sioyek/releases/tag/sioyek3-alpha0?

@codeponics
Copy link
Author

I can't reproduce the issue, does the issue happen on the latest preview release here: https://github.com/ahrm/sioyek/releases/tag/sioyek3-alpha0?

I tried using this version and it works. It also opens an empty command terminal just like v2.0.0 does but it seems like in v2.0.0, that terminal closes instantly. If that terminal is there, there is a pid and without it, there is no pid. Though, sioyek is just fine if I close the terminal. I'm not sure how to have this terminal disappear since it kind of bugs me to have it open every time sioyek opens from Vimtex.

For reference, I'm using the Windows release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants