7148Re: Latexsuite + MacVim: No View rule defined for target pdf
- Apr 4, 2008Hi,
Thanks for chiming in!
I downloaded latex-suite from their website  (it's version 20060325).
MacVim from  (snapshot 24).
I'll give the svn version of latex-suite a twirl!
Just for the heck of it, I'll put that exact line in my .vimrc,
although I already have a line there (and in the location the error
message suggests) which should be equivalent. And, as has been
previously stated, the variable _is_ set. It's like MacVim just
doesn't like the answer. ;-) Maybe including a target ($*.pdf) in the
command, that the var consists of, makes it happier. Who knows.
Thanks for your help!
On Fri, Apr 4, 2008 at 1:16 PM, Ben Schmidt
> krisse wrote:
> > This is driving me bonkers a t m.
> > If I open a tex-file with macvim, I get a error message stating that
> > "No View rule [is] defined for target pdf", and advises me to "specify
> > a rule in $VIMRUNTIME/ftplugin/tex/texrc".
> Where/how did you get latex-suite, Kristian? I downloaded the version from the
> sourceforge download site to try it out (haven't really got around to it yet), but
> can't even find that error message in the distribution!
> Still, googling, I found this page which might help
> Looks like the solution is...use vim-latex from its svn, not its tarball, or "put
> something like let Tex_ViewRule_pdf = '/path/to/acrobat/reader $*.pdf' in your
> ~/vimfiles/ftplugin/tex.vim or .vimrc"
> Though to me this seems basically equivalent to what you did already, except that
> it contains something real. I guess I would probably do
> let Tex_ViewRule_pdf = '/usr/bin/open -a Preview $*.pdf'
> Where do you get your latex-suite, Ted?
> Also, Kristian, since this seems to be MacVim specific...which version of MacVim
> are you using? I agree this is quite strange.
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic Next post in topic >>