Re: [Vim-latex-devel] how to configure the View rule?
Brought to you by:
srinathava,
tmaas
From: Yuan Qi <gma...@sp...> - 2006-09-20 23:30:09
|
> Turns out this is a bug in latex-suite specific to the Mac. I fixed this > (hopefully) in SVN, but I cannot be sure since I do not have access to > a Mac. In the meanwhile, a simple way to get around this is to put > something like: > > let Tex_ViewRule_pdf = '/path/to/acrobat/reader $*.pdf' > > in your ~/vimfiles/ftplugin/tex.vim or .vimrc (I do not know how these > files are named, but you hopefully get the idea). > > BTW, even with this warning, viewing should still have worked. I have a related problem with the View function on OS X 10.4.7 With the default value of Tex_ViewRule_format (empty string), \lv won't work at all! Changing it to 'open' doesn't help either. I have to change the string to 'open -a Preview' or "open $.pdf" to make it work. Even then, \lv will only work every other time (that is I have to type \lv twice to get it to work). |