sr_x
sr_x

Reputation: 53

vim-latex view document in different folder

I have installed vim-latex. It all works perfectly, but it creates a lot of auxiliary files. I use texlive, which has the option -output-directory=DIR to separate temp files, but the .pdf is put in this DIR too. And, when I use \lv to view the pdf, vim-latex doesn't find the pdf file.

How can I configure \lv in vim-latex to view a pdf in a different folder from the source?

Upvotes: 2

Views: 216

Answers (1)

sergej
sergej

Reputation: 17999

I have the same setup. My simple solution is a symbolic link to the pdf file in DIR.

On Linux:

ln -s DIR/project.pdf project.pdf

On Windows:

mklink project.pdf DIR/project.pdf

Upvotes: 1

Related Questions