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

Feature request: monitor changes in all project files #102

Open willbelr opened 4 years ago

willbelr commented 4 years ago

First off, thank you for sharing this great plugin, it is a must have for those who use vim+latex.

As most projects are splitted across various files, it would be very useful to monitor changes of every .tex files under "!TEX root" or perhaps just recursively under the current working dir. It is a bit of a hassle to close the current view and open a new manually every time.

Thanks !

badouralix commented 4 years ago

Hi @willbelr ! If I understand correctly your request here, you might be interested in https://github.com/xuhdev/vim-latex-live-preview/issues/32 too

willbelr commented 4 years ago

Hi, yes it seems linked to this other issue.

Here is a simple example of what I meant;

  1. Create two .tex files;

main.tex :

\input{sections/sub.tex}

sections/sub.tex :

% !TEX root = ../main.tex
  1. In main.tex, run :LLPStartPreview to launch a preview file

  2. Save a change in sub.tex

  3. The preview is not updated

badouralix commented 4 years ago

Alright, thanks for the reproducible example 🙇

I cannot give you any timeline for a fix, as I am not actively working on the plugin anymore, but I have the issue in mind now

Alternatively, we would be happy to receive a contributor PR addressing the issue