-
Notifications
You must be signed in to change notification settings - Fork 389
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
Previewer is non functional with zathura method #3003
Comments
First, I notice that you are testing this on a file with a very long name. Is that relevant here, or do you have the same problem with regular (short) file names? |
Also, just for curiosity: Why do you want to alias |
on the alias, i dont really have such strong opinion on maintaining it or not. |
Ok, so, the issue is still there regardless? Does it work if you open a file from a terminal with Btw: On MacOS I think Skim is the most popular PDF viewer and I think it should be quite good. |
Zathura does work fine when i use the terminal: |
Ok, great. If you open you |
Cool, now, again in the terminal, what happens if you do this? zathura -x "/opt/homebrew/Cellar/neovim/0.10.1/bin/nvim --headless -c \"VimtexInverseSearch %{line} '%{input}'\"" --synctex-forward 13:1:'/Users/felipepinto/.config/nvim.mwe/MWE/MWE.tex' 'MWE.pdf' |
i get this error
|
maybe the problem is the missing synctex support |
im getting a new error...
|
Ok, the next step now is to read |
Alright i will get to it, thanks for leading the way. |
@lervag On the "libsynctex not linked" issue, we do have code to check its existence:
However (from some online search, I don't have a Mac) Maybe it's a more robust to grep for the error message from zathura from inside the
call? (or check the process' return code but I don't know if this one work) |
Yes, that's right. In my opinion, users who want to use Zathura on a MacOS are more or less "on their own". I don't mind helping by improving the docs, but I don't use MacOS and I don't want to make more code than necessary to support users on systems where I can't actively test things myself.
Well, I'm not sure how to do that in a reliably and easy manner that would work on both Vim and Neovim. It seems at the very best to be non-trivial. So, as above, I instead want to give this burden to the users. If you want to use VimTeX and you are using MacOS, and if you insist on using Zathura, then the best thing that I can do is to keep the faq section up to date based on user input. Obviously, if I get help from MacOS users to implement and improve things, then I would be glad to merge PR's! Let me know if or when you have looked at the faq section and if you have some followup questions. It could be possible to drag some other users into this discussion that may be able to help. |
i havent checked rightfully yet, as i can simply open with zanthura without using |
Cool; then we'll leave this open for now. |
Description
Previewer is not working, whenever i try to do
\lv
or:VimtexView
nothing happens, neitherzathura
norzathura_simple
is working, zathura seems to be installed alright on my computerzathura --version
Steps to reproduce
Have my config:
Vimtex.lua
Expected behavior
open pdf previewer on compiling and after pressing the shortucts or the command
:VimtexView
Actual behavior
nothing happens, no error, no anything
Do you use a latexmkrc file?
no
VimtexInfo
The text was updated successfully, but these errors were encountered: