Vim is an advanced text editor and IMproved version of the Unix editor Vi.
5
votes
1answer
35 views
Highlight / color parts of text
LaTex newbie here. Currently using vim with solarized color scheme to edit .tex documents.
When writing I often jump around to different parts of the document, leaving gaps behind to work on later. ...
1
vote
1answer
41 views
Highlighting for viml in latex?
I want syntax highlighting for vim scripts in my latex document. So if I write
\begin{lstlisting}
autocmd FileType c setlocal expandtab shiftwidth=4 tabstop=4 softtabstop=4
\end{lstlisting}
it ...
6
votes
1answer
103 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 ...
0
votes
0answers
25 views
Vim LaTeX suite key mapping not working properly
I try to map Alt+i for inserting the item element to C+i.
So I followed the instructions from the latex-suite manual, which
states that the Alt-key mappings belong into the $VIM/ftplugin/tex.vim
...
0
votes
0answers
48 views
How to setup MacVim for ConTeXt (MkIV) and Skim?
This is a very basic question but I can't figure out how to configure MacVim (v7.3) properly to work with ConTeXt (MkIV) and Skim on Snow Leopard.
Is there somebody who would kindly explain the steps ...
3
votes
1answer
126 views
How to install vim-latex?
Can someone please help with installing vim with the latex plugin? I've tried searching online for easier instructions, but I can't find anything. I have very little experience with terminal and I ...
3
votes
1answer
118 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 ...
1
vote
1answer
42 views
Vim shortcut to pdflatex a specific tex file
I'm working on a document that is structured as follows:
/Document/
|
|--Chapter1/chap1.tex
|
|--Chapter2/chap2.tex
|
|--Chapter3/chap3.tex
|
\--main.tex
where the ...
3
votes
1answer
283 views
Spell Check in VIM Latex Suite not working after a particular word
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 ...
3
votes
1answer
321 views
Using Vim Latex-live-preview with minted package
I was wondering if anyone had succeeded to make vim-live-preview with the package minted.
When I tried to edit the pdflatex command winthin the script.vim by adding the -escape-shell switch, but ...
1
vote
1answer
178 views
vim-LaTeX does not run bibTeX
I'm on a Windows 7 machine, using the most recent version of vim-LaTeX with gVim. With all of the defaults, using \ll to compile my document only runs LaTeX once, when it should run multiple times, ...
0
votes
1answer
88 views
vim latex editing [closed]
What do I do if my tex file now looks like:
^@\^@d^@o^@c^@u^@m^@e^@n^@t^@c^@l^@a^@s^@s^@[^@1^@1^@p^@t^@]^@{^@a^@r^@t^@i^@c^@l^ @e^@}^@
2 ^@
3 ...
1
vote
1answer
90 views
Vim-Latex spell checking : ignore comment regions
I'm using the Vim-Latex environment for writing french documents. The problem is that when I comment a line containing a command, the spell checking tool highlights the command as a spelling mistake.
...
2
votes
0answers
63 views
vim-latex problem on Windows
I'm using vim with cygwin on Windows XP. I have Miktex install and I can compile files using Texmaker for example.
However, I'd like to use vim with the vim-latex suite. When I type
:echo ...
3
votes
2answers
91 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 ...
1
vote
0answers
118 views
understanding how to rotate arrows in tikz
I have seen the post on the rotation of arrows and one of the post is mine. However, I don't understand how to do accomplish it myself. For instance, I am making a picture of Hohmann transfer where ...
3
votes
2answers
71 views
Creating a section template
I'm reading a lot of papers, and writing notes on them as I go. I want to make a single document containing one \section for every proceedings-year, with a \subsection for every paper. (I'm using ...
2
votes
0answers
36 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 ...
0
votes
1answer
132 views
compiling pdflatex from the terminal in vim [closed]
A file I can compile in Texmaker won't compile after editing in Vim. I am giving the error hw9problem1xplot can't be found. This is from an includegraphics command. However, the pdf image file is ...
1
vote
0answers
112 views
Vim Latex \cite autocomplete <++>
I'm trying out vim-Latex on a mac, and so far I like a lot of things about it, however the \cite{} command tends to give a <++> following it (yes, I can use the autocomplete, which is way cool). ...
1
vote
0answers
86 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 ...
3
votes
2answers
278 views
Adding extra lines/spaces in source, *not* affecting semantics
I'm editing a file with quite huge interleaves of text and formulas like this
lorem ipsums
\begin{align}
foo & bar\\
qux & rofl\\
& toto
\end{align}
lorem ipsums
…
And I face ...
2
votes
1answer
108 views
Is \Copy already in use by any package?
I'm working on my copypaste package to address a confusing feature that Seamus has kindly drawn my attention to.
\yank copies text and commands from a LaTeX document onto a "clipboard", and \paste ...
20
votes
2answers
2k views
Intelligent paragraph reflowing in vim?
I'm not sure whether this is an appropriate question for tex.SE. If you think questions like this should not be asked here, please voice you concern. If necessary I'll open a question on meta.
For ...
0
votes
0answers
70 views
MacVim atp-vim does not launch viewer
At MacVim, after I type the :TEX command, the PDF file gets generated but it doesn't launch Skim or Preview, may I know what is the solution?
4
votes
1answer
177 views
Issues when using inverse/forward search with vim and xdvi (linux)
I am using vim 7.3.35 with the vim-latexsuite on ubuntu. After googling around I managed to setup forward/inverse search with xdvi by adding the following to my .vimrc:
let g:Tex_CompileRule_dvi = ...
0
votes
0answers
48 views
vim expansion of SPARC [closed]
I am trying to type SPARC in a latex file in vim, but as soon as I type SPA the text gets transformed to \part{}<++>. Is there an easy way to disable this feature.
2
votes
0answers
194 views
AutomaticLaTeXPlugin + MacVim on OSX Lion
I am desparatly trying to get the AutomaticLaTeXPlugin to work with MacVim. I previously worked with Latex-Suite but i really like the autocompilation, progressbar .. that AutomaticLaTeXPlugin seems ...
4
votes
2answers
503 views
How do you use MacVim for LaTeX?
I'm a long-time Emacs+AUCTeX user (I even once wrote a short tutorial for it!), but for a couple of different reasons (problems maintaining my Emacs configuration, the beauty of Drew Neil's voice, and ...
23
votes
4answers
8k views
How to setup synctex with vim, pdflatex and an open-source PDF-viewer under Linux?
Inspired by the comments to this answer I am curious how to actually setup and use forward/reverse (inverse) search with vim, pdflatex and an open-source PDF-viewer under Linux.
Btw, to give more ...
12
votes
2answers
2k 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 ...
9
votes
3answers
1k views
Compiling a LaTeX document manually
I've created LaTeX documents before using 'nice IDEs' such as TeXnicCenter and have a little experience in general with TeX, however, now I'm wondering about creating one "manually". By that, I mean ...
4
votes
1answer
438 views
How to do forward search to PDF file opened with Okular from include files when editing using VIM/GVIM
I'm using vim to edit my tex files and I use latex suite as a plugin to compile my tex sources and view them in using Okular pdf viewer.
Setting the following in Okular settings makes inverse search ...
1
vote
0answers
197 views
Biber backend and Vim-Latex
I'm trying to make biblatex work with Vim-Latex (a.k.a Latex-Suite). Using bibtex as a backend works fine but using biber doesn't. I'm using Miktex 2.9 and have the following in my .vimrc file:
" ...
8
votes
1answer
415 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 ...
2
votes
1answer
175 views
vim and the Makefile
I'm trying to use a Makefile to compile latex files within vim (and update the view of my current pdf file within my favourite viewer). Here is a little example (I'd like to expand that lateron):
...
1
vote
0answers
123 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 ...
1
vote
2answers
159 views
Correct spacing around environments without the comment symbol when using parskip?
I prefer inserting blank lines between paragraphs, and no indenting. I know that the package parskip can offer this functionality, but it comes with a catch. When writing
\documentclass{article}
...
1
vote
0answers
81 views
How to forward search to a character when editing using Vim?
We can forward search to a line in a tex file opened in Vim by setting the following in a pdf viewer (I'm using okular):
gvim --servername GVIM --remote +%l %f
But can we go straight to the ...
9
votes
2answers
584 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 ...
0
votes
0answers
360 views
Problem with Mac OS 10.8, ViM, and LaTeX-Suite [closed]
I just updated my machine to Mountain Lion (10.8.1) and am trying to install vim-latex. I have used the suite daily for about 5 years now, but when trying to do a clean install and opening up a .tex ...
4
votes
1answer
232 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 ...
6
votes
1answer
135 views
Fix all quotes in a document (pasted from another)
I'm translating some documents from MS Word (written by someone else) to TeX for my own uses. There are quotation marks all over the place, some of which are "weird" (e.g., unicode character 201c “ ...
1
vote
0answers
175 views
How I can use vim-latexsuite in the Kile's vim-plugin?
I use vim-latexsuite after several years and it is impressing the way I can TeXing new documents (shortcuts, macros and autocompleting)... However, when I need to correct big amounts of text with cut ...
4
votes
3answers
771 views
Macvim and Skim sync does not work
Don't really know where to begin. I have installed the latest macvim and skim. Put the mvim in path. Setup skim sync with the default macvim (and tried some custom stuff also). However it will not ...
3
votes
1answer
190 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 ...
1
vote
1answer
227 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 ...
0
votes
0answers
179 views
VIM LATEX error when compiling [closed]
I have been using TeXniccenter for a long time, and wanted to try using VIM with the latex suite since it seems very fast when you get the hang of it.
My problem is that when I create a new ...
3
votes
1answer
359 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>}
...
3
votes
2answers
435 views
How can I turn Vim LatexSuite on Manually?
VLS's commands such as ^J and F5 do not work always for me inside Vim so how can turn VLS manually or do some other tricks to get VLS working more often? The word "often" could mean that VLS gets ...


