[Vim-latex-devel] latex suite and R/sweave
Brought to you by:
srinathava,
tmaas
From: hl <hl....@go...> - 2012-01-10 12:35:25
|
I am using both the latex suite plugin and the vim-r-plugin quite regularly. With Sweave, an R package, it is possible to write documents that contain both latex and R code. Sweave is called on the document, generates a tex file which is then used to generate a pdf. these files typically end with .rnw and are recognized by the vim-r-plugin, and the latex suite plugin is also activated (I suspect the author of the R plugin is responsible for this). this is helpful, since most mappings also work now, e.g. F5, F9, <leader>ll (although this one doesn't have any effect). However, <leader>lv gives the error message "calling Tex_View_LaTeX from a non-tex file". Would it be possible to activate this (and other mappings that are filetype-dependent) for .rnw files? regards, Helge |