lervag / vimtex

VimTeX: A modern Vim and neovim filetype plugin for LaTeX files.
MIT License
5.51k stars 389 forks source link

VimTeX: Viewer cannot find Zathura window ID! #3028

Closed cklin731 closed 1 week ago

cklin731 commented 1 week ago

Description

VimTeX: Viewer cannot find Zathura window ID!

I have seen many article. No one said, how to fix this problem.

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Do you use a latexmkrc file?

NO

VimtexInfo

VimTeX: Viewer cannot find Zathura window ID!
user202729 commented 1 week ago

Without steps to reproduce, it's impossible to help.

What's your environment?

cklin731 commented 1 week ago

Without steps to reproduce, it's impossible to help.

What's your environment?

I use the brew tap zegervdv/zathura to install on the macbook.

user202729 commented 1 week ago

Maybe try reading :help vimtex-faq-zathura-macos. there are a few other issues https://github.com/lervag/vimtex/issues/1735 https://github.com/lervag/vimtex/issues/2581 https://github.com/lervag/vimtex/issues/2889 on GitHub concerning Mac users as well.

@lervag It may be a good idea to detect user running on Mac (https://vi.stackexchange.com/a/2577/26108 --- looks like need to run uname) and on zathura synctex failure automatically point the user to the FAQ entry.

lervag commented 1 week ago

@cklin731

You're original post contains:

VimTeX: Viewer cannot find Zathura window ID!

I have seen many article. No one said, how to fix this problem.

And where we asked for :VimtexInfo you did not provide the output of :VimtexInfo.

@user202729 asks for more info, to which you reply simply

I use the brew tap zegervdv/zathura to install on the macbook.

He also provides a reference to the faq section in the docs. This is, as far as I know, the best possible answer right now. If you need further help, then please provide a reproducible example and/or the details necessary to help you.

@lervag It may be a good idea to detect user running on Mac (https://vi.stackexchange.com/a/2577/26108 --- looks like need to run uname) and on zathura synctex failure automatically point the user to the FAQ entry.

Well, yes, possibly. But that's more work than answering a post every once in a while 😅