And by the way, how familiar are you with the editor.
Regards
Matthias
On Jan 5, 8:06 am, Gary Johnson <garyj...@spocom.com> wrote:
> On 2012-01-04, Daryl Lee wrote:
>
> > I'm having trouble getting Vim-Latex going on my Windows 7, Vim 7.2
> > installation. I've been through the instructions athttp://vim-latex.sourceforge.net/documentation/latex-suite/recommende...
> > three times, and as nearly as I can tell I've done it correctly.
> > ":help latex-suite.txt" gives me the help file. But when I do ":e
> > newfile.tex" I think I'm supposed to see a Latex-Suite menu item show
> > up and it doesn't. Syntax highlighting seems to work, based on the
> > few sample files I've tried.
>
> I don't use gvim very often, and I never use it to edit LaTeX files,
> so I was unaware of the menus. I did some experimentation, though,
> and I think I have the answer. Put this line in your ~/.vimrc:
>
> let g:tex_flavor = "latex" " Set LaTeX as the default TeX type.
>
> > I note with interest that there is no ftplugins/tex.vim, as I
> > expected to find, based on the installation instructions. There is
> > such a file in the "compiler" folder, but I'm not sure whether I
> > should a) make the recommended changes there; b) copy it into the
> > ftplugins folder and use it there; c) be using a different file
> > altogether;
>
> ftplugins/tex.vim is a file you create yourself, and it is the one
> you should be putting your customizations in. Take a look at the
> comment block at the top of ftplugin/latex-suite/texrc, paragraph
> #2.
>
> > or d) run screaming from the room.
>
> I know the feeling. With any luck, we can avoid that for this
> problem.
>
> Regards,
> Gary
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment