[OS X TeX] Vim Latex Package and Viewing

Herbert Schulz herbs at wideopenwest.com
Wed Sep 21 07:47:53 EDT 2005


On Sep 21, 2005, at 1:23 AM, Noah Diewald wrote:

> Hello,
>
> I'm using the vim latex package and can't seem to get the view
> commands to work. I have the following in my .gvimrc
>
> let g:Tex_ViewRule_dvi = '/usr/bin/open'
> let g:Tex_ViewRule_ps = '/usr/bin/open'
> let g:Tex_ViewRule_pdf = '/usr/bin/open'
>
> Can anyone tell me what I'm doing wrong?
>
> Thank you,
>
> Noah Diewald

Howdy,

Just a wild guess at this end but you may need to tell open what  
application to use:

/usr/bin/open -a Preview

or

/usr/bin/open -a Preview.app

or possibly the complete path to the application

/usr/bin/open/ -a /Applications/Preview.app

etc.

Hope that helps.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list