Christian Ebert <blacktrash <at> gmx.net> writes:

> 
> * Yuan Qi on Wednesday, September 20, 2006 at 23:15:48 +0000:
> >> 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" 
>                                                        ^^^^^^^^^^
> I think this should be 'open $*.pdf' or 'open $1.pdf'.

I meant 'open $*.pdf'. However, this option stopped working after I
did rebuilt the LaunchServices database (I am guessing this is what
cause it to stop working):

/System/Library/Frameworks/ApplicationServices.framework/\
Frameworks/LaunchServices.framework/Support/lsregister \
-kill -r -domain local -domain system -domain user

> 
> > 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).

This bug is always present regardless of what I tried.

> 
> I can't reproduce this on MacOS 10.3.9. Just 'open' works, even
> though I use the little "launch" utility that you might get via
> fink most of the time.

There are large differences between Tiger and Panther when it comes
to LaunchServices.

> 
> Perhaps it helps if you do "Finder->File->Show Info" on a .pdf,
> and then specify Preview under "Open with" and "Use this
> application to open all documents like this" explicitly?

I tried changing 'Open with' to some other application and then back, 
but that doesn't work.

> 
> c





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to