xuhdev / vim-latex-live-preview

A Vim Plugin for Lively Previewing LaTeX PDF Output
https://www.topbug.net/blog/2013/06/13/live-preview-of-latex-in-vim/
GNU General Public License v3.0
834 stars 74 forks source link

adds syntex support #128

Closed andreas-wachtel closed 1 year ago

andreas-wachtel commented 1 year ago

Summary

My change incorporates the possibility of using forward and reverse search between vim and some pdf viewer that shows the temporarily generated pdf file.

Other Information

At the time of writing this, your plugin does not support synctex between the temporarily generated .pdf and the source .tex file. I need a link to the .synctex.gz file and a global variable defined in the plugin in order to identify the correct pdf. In the README.md, I put a link to a my gist that shows how I set up vim-latex-live-preview + zathura + synctex. I intent to make some screenshots, or a screencast to show that it works.

It just occurred to me, that you may not like my change of the README.md. I also have updated the CHANGELOG.

andreas-wachtel commented 1 year ago

Dear "xuhdev". I close this request, because I have to restructure the changes.

Moreover, waiting for the latex-compile-process to finish makes vim unresponsive, so I made some changes that avoid the waiting (when recompiling). Furthermore, the changes I make in the code (i.e. the update of the synctex file) are done automatically if I use latexmk. So I rather work, on a change that allows using latexmk.