Re: [Vim-latex-devel] how to configure the View rule?
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sri...@gm...> - 2006-05-01 04:36:35
|
Hi Long, On 4/29/06, Chen Long <che...@ps...> wrote: > I am new to vim-latex. When I open .tex file using Vim. It says that > > No View rule defined for target pdf > Please specify a rule in $VIMRUNTIME/ftplugin/tex/texrc > :help Tex_ViewRule_format > > What should I do? by the way, I am using Mac OS 10.4. 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 =3D '/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. Thanks, Srinath |