首页 > Uncategorized > vim-latex for MacVim

vim-latex for MacVim

2012年01月26日 留下评论 Go to comments

See http://code.google.com/p/macvim/wiki/FAQ for instructions on how to install vim-latex(or known as latex-suite) on macvim.

However, on my Mac OS X Lion, there seems to be a problem with \lv using the default setting. When commanding \lv a pile of error messages jumped out. The fix I found is the following: go to ftplugin/latex-suite, open texrc,  uncomment the line

TexLet g:Tex_TreatMacViewerAsUNIX = 1

and add here or to .vimrc the following:

TexLet g:Tex_ViewRule_pdf = ‘open -a Skim’

I use Skim as my pdf viewer. These two resolve the problem.

 

Advertisements
分类:Uncategorized
  1. 还没有评论。
  1. No trackbacks yet.

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: