[Vim-latex-cvs] SF.net SVN: vim-latex:[1041] trunk/htdocs
Brought to you by:
srinathava,
tmaas
|
From: <tm...@us...> - 2008-08-07 13:45:05
|
Revision: 1041
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1041&view=rev
Author: tmaas
Date: 2008-08-07 13:45:14 +0000 (Thu, 07 Aug 2008)
Log Message:
-----------
- Add FAQ regarding let g:tex_flavor='latex'
- Maintain only one place with recommended settings in .vimrc
Modified Paths:
--------------
trunk/htdocs/download.inc
trunk/htdocs/faq.inc
Modified: trunk/htdocs/download.inc
===================================================================
--- trunk/htdocs/download.inc 2008-08-05 19:02:02 UTC (rev 1040)
+++ trunk/htdocs/download.inc 2008-08-07 13:45:14 UTC (rev 1041)
@@ -66,24 +66,9 @@
do not over-write any of your files.</p>
<h4>Step 2 of 4: Set a few things in .vimrc</h4>
-Make sure you have the following setting in your .vimrc
-<pre>
-" REQUIRED. This makes vim invoke latex-suite when you open a tex file.
-filetype plugin on
+The recommended settings for vim-latex in your .vimrc file are now only described in
+the <a href="/documentation/latex-suite/recommended-settings.html/documentation/latex-suite/recommended-settings.html">vim-latex manual</a>.
-" IMPORTANT: win32 users will need to have 'shellslash' set so that latex
-" can be called correctly.
-set shellslash
-
-" IMPORTANT: grep will sometimes skip displaying the file name if you
-" search in a singe file. This will confuse latex-suite. Set your grep
-" program to alway generate a file-name.
-set grepprg=grep\ -nH\ $*
-
-" OPTIONAL: This enables automatic indentation as you type.
-filetype indent on
-</pre>
-
<h4>Step 3 of 4: Install the help files</h4>
To install the included latex-suit.txt and latexhelp.txt files as vim help
files, start vim and do the following:
Modified: trunk/htdocs/faq.inc
===================================================================
--- trunk/htdocs/faq.inc 2008-08-05 19:02:02 UTC (rev 1040)
+++ trunk/htdocs/faq.inc 2008-08-07 13:45:14 UTC (rev 1041)
@@ -23,6 +23,9 @@
a lot. But latex-suite always converts it into a
<tt>\subsection{}<++></tt>. How do I get around this? (OR How do
I disable a mapping created by Latex-suite?)</a></li>
+ <li><a class=question href="#faq-not-loaded-vim7">
+ Why is vim-latex is no longer loaded when I open an empty .tex file after I upgraded to Vim 7?
+ </a>
</ul>
<h2>Answers</h2>
@@ -287,6 +290,16 @@
</div>
</blockquote>
+<a name="faq-not-loaded-vim7">
+<div class=qa>
+Q: Why is vim-latex is no longer loaded when I open an empty .tex file after I upgraded to Vim 7?
+</div>
+<blockquote>
+<div class=ans>
+If you look at the filetype of your opened file (with <pre>:se ft</pre>, you will notice, that it is not set to 'tex', but probably to 'plaintex'.
+To change this, you need to add <pre>let g:tex_flavor='latex'</pre> to your .vimrc file.
+</div>
+</blockquote>
<!-- A sample Q & A
<a name="faq-#">
<div class=qa>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|