-
Notifications
You must be signed in to change notification settings - Fork 236
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
VimTeX "integration" #8
Comments
I am very interested in adding support for synctex. Currently I am busy trying to get the Linux and MacOS builds running but once I am done with that, adding synctex support is pretty high on my priority list. |
Great! When there's a working Linux version with synctex support, then I will be glad to test it. I can then add docs for VimTeX for how to configure things. Note: For a good Vim/neovim integration, it is useful to allow to pass to the viewer the command needed for reverse synchronization. Zathura allows this with the |
I have added synctex support in c1e6158 . There are still no stable release with synctex support but here is an experimental build of the latest commit: https://github.com/hexomancer/sioyek/releases/tag/v0.31.78 The way it works is that we use a hotkey ( Here is what I added to
The interface is very similar to SumatraPDF, the differences are:
Please notify me if there are any issues or there are improvements I can make. |
I have added a release with Synctex here: https://github.com/ahrm/sioyek/releases/tag/v0.31.6 |
Great! I'm happy to see this. I'll write up corresponding docs immediately. In the future, it could be nice to make a dedicated viewer interface/method to simplify configuration. I'll wait with that until Sioyek matures. My first impression is that you are really on to something very useful with this PDF viewer. If you keep up the good work, I may switch to it myself! (One minor thing I'm missing, just FYI: I'd like to press |
Feel free to comment on the text I've added to the VimTeX doc. Let me know if you think it should be changed/improved! |
I have added to ability to configure quit command in 98a5438. You can currently also use
|
Ah, great!
Great, happy to hear it. |
I've updated the inverse search mechanisms in VimTeX and updated the Sioyek docs. Perhaps you could update the corresponding docs for VimTeX integration from Sioyek as well? |
Updated in 8d221404883dc3c2c20bd0ff62a168b5331ee20f and 1a50331. |
New update: I've pushed a native VimTeX backend for Sioyek. It should now work with simply let g:vimtex_view_method = 'sioyek' |
I am not sure why, but inverse search does not seem to work for me. I have the new version of vimtex, nvim 0.7, and the last stable release of Sioyek. After compiling the pdf with vimtex on nvim, I activate synctex with F4 but when I right-click with the mouse nothing happens. The only lines of codes in my nvim config are:
Am I doing something wrong? Thank you. |
Sorry stupid mistake on my side. I was lazy loading vimtex. |
Glad to hear you figured it out yourself. Be careful with lazy loading. Most plugins, like VimTeX, are already lazily loaded, and doing custom lazy loading on top of that can break things. |
document selection region for scripts
First, congratulations with developing something that immediately looks very promising as a PDF reader for scientists! It seems you have already implemented a lot of novel and very interesting features.
I'm the developer of a Vim plugin for writing LaTeX: VimTeX. If (and when) you think this viewer is suitable for working with PDFs generated from LaTeX e.g. with synctex support, I would be happy to add sections for how to properly configure Vim with VimTeX to use this viewer. Perhaps also add a full layer similar to what I've done with Skim, Zathura and MuPDF.
Let me know if you are interested in a collaboration for this type of direction; and of course, feel free to close the issue if you think this is better addressed by others/the community/at a later time/...
The text was updated successfully, but these errors were encountered: