Closed ranguli closed 6 years ago
Funny bug, specially because of this line which is supposed to ensure the same behavior whether one stops writing or saves file.
Just to be sure: could it be a previewer issue ? That is the pdf is actually recompiled and up-to-date in the temp dir, but not shown
Or could it be related to your python3
-patch ? About that, can you provide a gist of this patch that I can try ? ( you don't need to bother with versioning and pull requesting for now )
AFAIK, Zathura was listed as a supported PDF reader, but I'll try it with another one. Which reader are you using?
Here's a gist (no quality control, just straight copypaste) with the patch and I expanded the statement that checks for python into two separate ones in order to tell which one fails if a dependency is missing.
Personally, I'm using evince.
Good point: your patch is working fine with my configuration +python3/dyn
👍
Problem: I can't reproduce your bug with zathura and zathura-pdf-mupdf. Which pdf backend are you using? Otherwise, could your provide an actual tex project which fails? (files, filenames and pathnames)
Looks like evince also doesn't refresh for me until I save the document. What's the best way of telling what the PDF backend is? (Maybe we should add a debugging command that prints out things like PDF viewer, PDF backend, etc. Any tex document will fail, whether it's in the same root directory as where I ran vim or otherwise.
I would say it depends on how you installed zathura.
Oh, I ran into this bug within a special case, and this is why there is this known issue. I never found out why... But we should dig then!
Yeah, we should definitely add a debugging command! And ask for the output when an issue is opened. Something like :echo llp_debug
or LLPDebug
or LLPShowDebug
or LLPOutputDebug
etc.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed. Thanks for contributing to vim-llp!
Expected behavior
PDF updates after typing
Actual behavior
PDF only updates after :w
Steps to reproduce
Tell us how it occurs
System configuration