Loading ...
Sorry, an error occurred while loading the content.

7148Re: Latexsuite + MacVim: No View rule defined for target pdf

Expand Messages
  • Kristian Niemi
    Apr 4, 2008

      Thanks for chiming in!

      I downloaded latex-suite from their website [1] (it's version 20060325).
      MacVim from [2] (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!


      [1] http://vim-latex.sourceforge.net/index.php?subject=download&title=Download
      [2] http://code.google.com/p/macvim/downloads/list

      On Fri, Apr 4, 2008 at 1:16 PM, Ben Schmidt
      <mail_ben_schmidt@...> wrote:
      > 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
      > http://www.mail-archive.com/vim-latex-devel@.../msg00006.html
      > 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.
      > Ben.

      You received this message from the "vim_mac" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 21 messages in this topic