LaTeX-Suite attempts to provide a comprehensive set of tools to view, edit and compile LaTeX documents in Vim. Together, they provide tools starting from macros to speed up editing LaTeX documents to functions for forward searching .dvi documents.

learn more… | top users | synonyms

21
votes
2answers
6k views

Set up vim with latex-suite to use latexmk

Today I started using vim in combination with the latex-suite plugin, and so far I love it. Other editors also make using LaTeX easier by providing code completed and such, but latex-suites's ...
14
votes
1answer
999 views

What does <++> signify when using Vim LatexSuite?

I have a LaTeX editing environment that does some assistive stuff such as auto-indenting, closing parentheses, etc. However, one of the things that it does is unknown to me, and is difficult to ...
14
votes
2answers
3k views

Is there any cheat sheet for vim-latex mappings?

I wonder if anyone knows any list of "magical words" such as vaw`em which changes the format to italics of the current word for vim-latex different than this one
14
votes
3answers
3k views

How to disable all Vim-LaTeX mappings?

I like some of the features provided by the Vim-LaTeX suite, but not all of them. In particular, I dislike all of the mappings like [[ = \left[ \right] and the automatic placeholder stuff with ...
9
votes
3answers
2k views

Shortcut for inserting matching \end{something} in VIM

I remember some time ago I always used a shortcut in VIM that allowed me to type this (<X> is indication of the location of the cursor): ... rest of document ... \begin{<ENVIRONMENT>} ...
8
votes
2answers
659 views

Vim-latex adds extra brackets when typing empty brackets

I just installed the vim latex-suite plugin. Whenever I type empty brackets, parentheses, or braces, I get an extra pair of them, and I am moved to the middle of the new pair and put into insert ...
8
votes
1answer
412 views

`. shortcut doesn't expand to \cdot

According to latex-suite documentation, `. should expand into \cdot but this is not working for me. All other abbreviations (greek letters and math) do work. I tried looking in ...
7
votes
1answer
1k views

How do I prevent LaTeX-Suite from opening files automatically when there's an error?

I'm using Vim with LaTeX-Suite. Occasionally when I compile a file with errors using <Leader>ll, the error in my source is such that the LaTeX compiler registers an error in a file deep in the ...
7
votes
2answers
634 views

How to dynamically change the output filename in Vim LaTeX Suite

Say, my .tex files are organized like this ~/Projects/proj_name/articles.tex. After compiling with LaTeX Suite, I want the output PDF file to be proj_name.pdf instead of articles.pdf. Since I have ...
6
votes
1answer
556 views

Disable visually italicizing characters in \textit when using LaTeX-Suite

I am using Vim + LaTeX-Suite plugin to write LaTeX source file. I noticed that LaTeX-Suite would automatically italicize characters in \textit (which made text inside almost illegible) and bold ...
6
votes
1answer
1k views

How do you jump to an error from the Error List in LaTeX-suite?

I just discovered LaTeX-suite and was overjoyed with the breadth of the compiling and debugging options, but for some reason the primary debugging mechanism is not working for me. When I compile with ...
6
votes
1answer
1k views

How can I use the Vim LaTeX-Suite multiple compile option with BibTeX and the -aux-directory option?

I have a document composed of several subfiles and so have used the -aux-directory command to put all of the temporary files in a subfolder, 'auxdir', to keep my working folder clear (and me sane). I ...
5
votes
1answer
776 views

Is there a default / official / standard Vim indentation file for TeX, or just best practices for TeX source indentation?

If you see here, the author mentions an "official version" of an indentation script from Johannes Zellner. The link is broken and while there are traces of Zellner all over the interwebs, I can't find ...
5
votes
1answer
16k views

How to do single quotes in Latex Suite

In Latex Suite the back quote (`) is mapped to provide a host of symbols (see here). Problem is that I use the backquote-forwardquote duo as my opening and closing quotes. So now if I want to quote ...
5
votes
1answer
2k views

Why is LateX Suite (Vim) so inconsistent

I am trying to transition to Latex Suite for Vim, but it seems to have several problems, observe: The first \subsection command (90) is shown but the second one (124) is not. Again the third one is ...
4
votes
1answer
24k views

Drawing multicolumn table in latex

I have a problem for drawing a multicolumn table in ieeetran latex. This is what I want to draw: However, I couldn't manage it. I am having problem to add OBR and AR rows. I tried some codes, none ...
4
votes
1answer
519 views

<F5> in vim-latex doesn't expand environment

I'm new to vim-latex and have been reading some tutorials. I've noticed that the behaviour of the F5 on my machine is rather different from what the tutorials tell me. I'm supposed to expect F5 to ...
4
votes
1answer
985 views

What are the <++> in Vim latex-suite after typing in a bracket pair? [duplicate]

Possible Duplicate: What does <++> signify? In typing bracket pairs while coding, I usually type the opening and closing bracket before typing in the contents like so: ...
4
votes
1answer
897 views

vim latex-suite: unwanted in-editor math symbol conversion

I'm experiencing trouble using vim in combination with latex-suite. Since recently there is a nice feature, that converts some latex commands, such as \varphi, into symbols better readable and more ...
4
votes
1answer
303 views

What is the Vim Latex-Suite shortcut for inline math parenthesis?

Vim Latex-Suite has shortcuts for typing \left( and \right) just by typing ((. What is the shortcut for typing \( and \)?
3
votes
1answer
403 views

vim-latex: “I can't write on …” error

I am using vim-latex. I compile TeX document using \ll command, then \lv to view it. It generates a PDF file. So far, so good. The problem starts when I try to modify my TeX file and compile it again ...
3
votes
1answer
229 views

Vim-latex Incorrectly Expanding Environment

I just began using vim-latex and started with their tutorial. Following the instructions on this page, I type eqnarray followed by F5, but instead of getting the described \begin{eqnarray} ...
3
votes
1answer
146 views

How to get Vim Latex-suite projects (with .latexmain-files) to configure spelling in subfiles correctly

I use Latex in larger projects and I use the following file structure: project/ mainfile.tex mainfile.tex.latexmain tex/ subfile1.tex subfile2.tex ... The command ...
2
votes
1answer
242 views

Indenting multi-line sentences

For example, in the actual .tex file, I'd like sentences like this: Due to this, some reasonable conclusion. Next sentence. To be formatted like this: Due to this, some reasonable conclusion. ...
2
votes
1answer
489 views

(Vim+latex) How to compile a single tex file in a project directory using \ll

I am using Vim+latex. In my project directory, I have another separate tex file (for example a tikz/PGF file to draw a figure). When I input \ll, instead of compiling my current file, the system ...
2
votes
0answers
110 views

How to show the value of a variable in vim latex-suite [closed]

Is there a way to show the current value of a Latex-Suite variable, e.g. g:Tex_DefaultTargetFormat, from the vim command line?
2
votes
1answer
736 views

Spell Check in VIM Latex Suite not working after a particular word [closed]

In latex I need to type the sequence$G^{\{ x \}}$ to get the desired equation. The equation works fine, but after this spell check does not work for the remaining text. Spell check works fine before ...
2
votes
0answers
147 views

vim-latex always moves the cursor to the beginning of the line upon compilation. How do I stop this? [closed]

I have posted this question to /r/vim, with no success. The title basically explains the situation: every time I compile with <leader>ll, Vim moves my cursor to the beginning of the line, which ...
1
vote
2answers
184 views

How do I write a script (in Windows) that removes all the temporary LaTeX files in Vim?

Maybe my title is not so clear; I Googled a lot about cleaning up temporary files after a PDF is generated, and find it is not recommand to remove it completely in each compile. I do want to remove ...
1
vote
1answer
633 views

Howto use Vim + LatexSuite to convert plain text lists to itemize/enumerate etc

I am often burdened with "converting" and "including" stuff into larger documents. I have compiled some scripts and voodoo to ease my work but rather often I'm still facing the task of manually ...
1
vote
1answer
93 views

Ignore errors in environments in latex-suite in vim

I use the latex-suite vim plugin, which shows me errors inline in my vim editor. However, I get false positives for certain environments like lstlistings. How can I configure latex-suite to ignore ...
1
vote
1answer
1k views

How do I properly set up Latex-suite in Gvim?

I just installed Miktex, and downloaded Latex Suite latest snapshot. I extracted its files in both C:\Program files (x86)\Vim\vimfiles and C:\Program files (x86)\Vim\vim74 (I'm not sure why I have ...
1
vote
0answers
19 views

vim-latex: Environment mapping with arguments

Is it possible to use <F5> to enclose in an environment with arguments? For instance, if I type enumerate and then <F5>, I get the following \begin{enumerate} \item <cursor> ...
1
vote
0answers
54 views

Compiling tikz graph with tree and layer in lualatex gets overflow

Below is a standalone image in tikz. When compiling in latex-suite I get the overflow error: TeX capacity exceeded, sorry [input stack size=5000] But when I compile the document in TeXShop the pdf ...
1
vote
0answers
40 views

macvim and latex-sutie: autocompletion of \cite{} using [F9] is glitchy

I am using a Macbook Pro to write some papers using latex, macvim, and latex-suite. I like the [F9] bibliography autocompletion for \cite{}, which comes really handy. However, the function is really ...
1
vote
0answers
31 views

vim+ Latex Suite, Can the compile window be in a sub-window?

I am using vim+latex suite. When \ll, the compile window takes the whole area of the vim window, no matter how many other subwindow I have opened. Can the compile process just be shown in another ...
1
vote
0answers
163 views

Citation completion in vim latex-suite on Windows 8.1 Update

This is potentially a duplicate of this tex.se question, but I tried all the advice with still no solution. I am on 64-bit Windows 8.1 Update with gvim 7.4, Python 2.7.7 (Anaconda 2.0.1 32-bit), and ...
1
vote
0answers
69 views

Latex-Suite Mapping Using Fullwidth Characters

Currently I am using Latex-Suite to edit an document that contains CJK characters for more than 90%, and therefore mainly using an input method that outputs fullwidth characters. I tried to define ...
1
vote
0answers
142 views

How to create local variables to upload document in LaTeX? [closed]

I want to create relative directories to load multiple documents into a LaTeX and compile it. For example, I have the following: ...
1
vote
0answers
120 views

Command for obtaining Table of Contents (toc) number of pages using vimscript and latex? [closed]

Is there a way I can obtain the number of pages that make up the table of contents (all the pages prior to chapter 1)? I am using vim + latexsuite, but if this is commonly listed in other latex ...
1
vote
0answers
22 views

Vim LaTeX suite now doubles my double parentheses and braces [duplicate]

I re installed MikTex and Vim LaTeX suite (for an unrelated reason) and now Vim doubles my double parentheses (or braces, etc.). Usually if I type ( and the matching ), then I get ()<++> with ...
1
vote
0answers
126 views

Strange highlighting in LaTeX-Suite [closed]

I use Vim 7.3 and LaTeX-Suite 1.8.23. But every time when I use the function in LaTeX-Suite , such as $e^^ and amsmath<F5>, the whole source code will be highlighted. How to fix it up?
0
votes
1answer
66 views

How to set up latex-suite to compile asymptote in tex files?

I am using vim with latex-suite to compile to pdf. With the following in filename.tex: \usepackage{asymptote} ... \begin{asy} ... \end{asy} ... The file filename-1.asy is produced (and the log ...
0
votes
0answers
19 views

How can I automatic unfold when open a tex file with LaTeX-Suite?

While opening a tex file, I usually want it unfolded according to the cursor I left since last time. The effect I want will be equivalent to doing the following stuff successively when opening: zR ...
0
votes
0answers
49 views

vim+latexsuite: Compiling parts of a file

I have a question concerning Compiling parts of a file. It reads "Continue to debug this file as required and then replace the portion of the original file with this one." How can I then replace the ...
0
votes
1answer
23 views

Shortcuts to type arrows in Vim-LatexSuite

I have just learnt vim and Latex-Suite and I really like typing Latex by this program. But I wonder if there are shortcuts to type some arrows such as \hookrightarrow or \Leftrightarrow in Vim ...
0
votes
1answer
78 views

<Alt> Key Macros in vim-latex

<Alt-L>,<Alt-B>,<Alt-C> and <Alt-I> are four default alt key macros in vim latex-suite. However, I cannot used it in my mac. It only types ¬ ∫ ç ˆ respectively. May I know how ...
0
votes
1answer
78 views

Folding in Vim latex-suite

I have installed and configured vim latex-suite successfully. However whenever i try to type ":\rf" in normal mode i get an error "E10 : \ should be followed by /,? or &" . Could anyone tell me ...
0
votes
0answers
80 views

latex-suite (vim-latex) \cite F9 bibliography completion not working

I use latex-suite (vim-latex) to edit tex file with vim. But the action \cite{F9 doesn't do anything at all (i.e., no splitted window with bibliography entries as expected). Could anybody out there ...
0
votes
0answers
50 views

How to finishing the compilation in LaTeX-Suite?

Editing in vim using LaTeX-Suite after pressing \ll I got two additional windows: one contains error list and one contains preview of selected error. How to back to editing the main .tex-file? It is ...