-
Notifications
You must be signed in to change notification settings - Fork 391
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
Make mupdf viewer option auto-update #2676
Comments
Notice that this should work currently if you have vimtex/autoload/vimtex/view/mupdf.vim Line 29 in a4d5e2f
You are asking for an adjustment where we instead signal mupdf directly. It seems much less of a hack, and so I think it could be interesting to consider it. To implement, we would need:
|
Ah, for some reason it didn't work earlier (even though I have xdotool). I changed view method back to mupdf and it works now.. |
I've made the changes now, and it seems to work well. Please test - does it work for you? |
That's fast. Yes, it works. |
Great, glad to hear it. And thanks for the idea, I think this should be a general improvement overall for the mupdf layer. |
Is your feature request related to a problem? Please describe it.
Currently if mupdf is used as a viewer, it will not automatically refresh when the PDF file change.
Describe the solution you'd like
Implement it. It can be done by sending HUP signal to the mupdf process https://unix.stackexchange.com/questions/425907/how-to-make-mupdf-automatically-refresh-a-document
At least just spawning
kill -HUP <pid>
work in UNIX environments, not sure about Windows.Edit: we can use
job_stop()
in vim to signal SIGHUP, but still not sure if it works on Windows.The text was updated successfully, but these errors were encountered: