Closed adi-joshi closed 3 years ago
I found what was causing the problem. I thought the updatetime
parameter's value was in seconds instead of milliseconds. I can just change the value of updatetime
to a bigger value (I used autocmd Filetype tex setl updatetime=1000
for updating every second) and it seems to work flawlessly.
Sorry for the trouble.
Expected behavior
Using :LLPStartPreview after opening a file should open the .pdf document with evince without any problem
Actual behavior
Evince sometimes throws the following error:
I can confirm that the file has been compiled, as I can open it with both
Evince is able to sometimes open the file, but this only occurs after I try to close and open the file in different ways a few times (eg. using some combination of the commands
:w
,:q
and:q!
). I am unable to consistently replicate when evince will successfully open the file, and when it will throw an error.Steps to reproduce
Tell us how it occurs
\begin{document}
Hi
\end{document}
Unable to open document "file:///tmp/vim-latex-live-preview-1234abcd/path/to/file.pdf".
File type empty document (application/x-zerosize) is not supported
Here is my vim version info:
Here is my vimrc, regarding vim-latex-live-preview