7357Re: Latexsuite + MacVim: No View rule defined for target pdf
- Apr 22, 2008Thanks for your post, it helps a lot. By the way, I still cannot open
my pdf file until I found out it was corrupt. At last, I tried a
utility called Advanced PDF Repair to repair my PDF file. It works
rather well. Its web address is http://www.datanumen.com/apdfr/ Hope
this will help, too.
On Apr 4, 11:56 pm, "Kristian Niemi" <kristian.ni...@...> wrote:
> Aaaah! The sweet view Vim without anerrorin my face!
> The following (in .vimrc) did *not* work:
> let g:Tex_ViewRule_pdf = '/usr/bin/open-a Preview $*.pdf'
> let Tex_ViewRule_pdf = '/usr/bin/open-a Preview $*.pdf'
> let g:Tex_ViewRule_pdf = '/usr/bin/open-a Preview'
> let g:Tex_ViewRule_pdf = ''
> This *did* work:
> let Tex_ViewRuleComplete_pdf = '/usr/bin/open-a Preview $*.pdf'
> Thanks for all of your efforts and ideas!
> On Fri, Apr 4, 2008 at 1:45 PM, Ben Schmidt
> <mail_ben_schm...@...> wrote:
> > Ben Schmidt wrote:
> > > Kristian Niemi wrote:
> > >> Hi,
> > >> 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 theerror
> > >> 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!
> > >> /Kristian
> > > Odd. That's the version of latex-suite I downloaded too. Maybe I'm doing something
> > > wrong! This link seems to offer another more reliable solution...
> > > http://www.mail-archive.com/vim-latex-de...@.../msg00093.html
> > Aha! I found theerrormessage, too! Line 43 of compiler.vim. Looks like setting
> > that variable to blank would *cause* theerror!
> > It seems the previous bugfix was slightly buggy, too! This may be more robust:
> > let Tex_ViewRuleComplete_pdf = '/usr/bin/open-a Preview $*.pdf'
> > or such. Interesting. It will be fun getting my hands on some Tex stuff at some
> > stage. One day...
> > Ben.- Hide quoted text -
> - Show quoted text -
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic