Questions tagged [vim-latex]

This tags deals with using TeX in Vim, in particular with the `vim-latex-suite` extension which provides a comprehensive set of tools to view, edit and compile LaTeX documents. Use this tag if the Vim editor or the LaTeX suite is relevant to your problem.

Filter by
Sorted by
Tagged with
1
vote
1answer
46 views

Forward search with vim-latex and evince

OS: Ubuntu 18.04 LTS Bionic texlive version: 2019 Vim version: 8.1 , big Vim Plugin Manager: pathogen Vim Plugins: vim-latex (LatexSuite) I had changed the settings in my tex.vim file so the ...
0
votes
0answers
15 views

vim-latex, remove spell checking from inside all commands from a package [duplicate]

When writing LaTeX documents in vim with spell checking sometimes words that shouldn't be is marked as spelling ends up being marked as spelling. I have problems mainly with commands from the command ...
1
vote
0answers
46 views

latex with vim irritatingly opening new buffer window [duplicate]

I edit my Latex in (g)vim. Now, when I am getting any error in compiling, vim is irritatingly opening the file in a new buffer, and moving to that buffer. For example, say, if I am getting an warning ...
2
votes
1answer
29 views

vim latex-suite, type … instead of `\ldots`

Vim latex suite automatically turns ... into \ldots This is nice in text, but when writing tikz figures, one often needs to write the like of (MWE): \documentclass[border = 5pt]{standalone} \...
1
vote
0answers
36 views

How to suppress change of indentation after auto-completion in vim-latex-suite? [closed]

Whenever there's situation such as this, \begin{document} \section{Some section} \subsection{Creating processes and I close the brackets, it removes the indent of the line, like this: \...
1
vote
1answer
48 views

Imperfect custom fold in vim-latex

I included the following custom fold in .vimrc let g:Tex_FoldedEnvironments = ',frame,block,algorithm' I have perfect folding of frame and block, but not for algorithm. It folds all the lines of ...
2
votes
1answer
308 views

Are there any alternatives to vim-latex?

Are there any good alternative plugins that someone has put together for working with latex in vim? I use the vim-latex latex suite, but it's a bit much. I'm pretty sure I use maybe 10% of the ...
0
votes
0answers
24 views

I can't make a reference

I'm new to latex so I'm trying to do the vim-latex tutorial. So now I'm supposed to make a reference. My file looks like: % File: package.tex % Created: Mon Feb 11 07:00 PM 2019 AST % Last ...
0
votes
0answers
60 views

VimLatex-suite SageTex compile shortcut

I am using LaTeX in Vim with VimLaTeX-Suite and i just started using Sage and i want to implement SageTex in my documents, but everytime i want to compile a have to follow this process in the terminal ...
3
votes
1answer
39 views

Vim-Latex: Appendix gets folded into previous section

I have main.tex file and an appendix.tex file. I use include command to insert the appendix file. No problems with latex, but vim-latex folds the \include{appendix} statement into the previous section....
1
vote
0answers
62 views

After installation vim-latex is not properly working [duplicate]

I downloaded vim-Latex from https://sourceforge.net/projects/vim-latex/files/, and installed vim-Latex by hand (without Vundle or similar). I followed the instructions on the page: http://vim-latex....
2
votes
1answer
35 views

vim latex-suite only working if existing `.tex` file includes latex code

On a fresh vim latex-suite install, none of the vim latex-suite shortcuts work unless there's pre existing latex code in the file.
1
vote
0answers
90 views

Vim-latex suite, compile child documents

When working in vim-latex suite the commands \lv and \lc are used for view and compile master document respectively. When doing figures in larger projects, it's nice to compile them within a sub ...
1
vote
0answers
48 views

vim: disable greek letter mapping? [duplicate]

Anyone else find that trying to use `something in quotes' frustrating because `s is always mapped to \sigma Where is my mistake? 1) Shouldn't I be using (`quote') in the first place? 2) Is ...
2
votes
1answer
111 views

Luatexja conflicts with KOMA script

After running into a bit of a wall with certain things in XeTeX I decided to start experimenting a bit with LuaTeX. Unfortunately I ran into a problem I couldn't solve pretty much instantly. I really ...
1
vote
1answer
181 views

How do I know if vim-latex is installed correctly?

I followed the very clear instructions How to install vim-latex?. I did not encounter any error while installing, but when I open a test file with vim test.tex the interface still looks like normal ...
1
vote
1answer
273 views

Entering \ll command to compile using LaTeX suite plug-in to MacVim

LaTeX Suite Manual says that In order to compile a LaTeX file, simply press \ll while editing the file. I don't understand how I can enter this command. I tried switching to the Editor mode in ...
2
votes
1answer
159 views

vim-latex: How to set directory for latex output files

I am using version 1.8.23 of vim-latex suite in Ubuntu. I am able to compile and view latex files using vim through \ll and \lv commands. The compilation and viewing commands create .dvi, .aux and ....
3
votes
1answer
127 views

How to use \paragraph without seeing the title in the final pdf?

I am writing a review and using Latex to create the document. Since I have to go back to many many references I want to take advantage of the folding option with each paragraph I write so I can easily ...
1
vote
0answers
72 views

Showing aux file after compiling

I am using latex-suite for vim. A recent problem I come into is, after compiling the tex file, the original window showing tex is replaced by the aux file. Is there a way to stop this behavior and ...
1
vote
1answer
320 views

vim-latex suite not compiling

Whenever I try to compile my LaTeX on vim using vim-latex and \ll I get the following error vDoc.tex || I can't find file `0'. 0 || Emergency stop. 0 [Quickfix List] :latex -interaction=nonstopmode -...
0
votes
0answers
204 views

How to install vim?

I am trying to install vim LaTeX suite but on the website there isn't specifically any files I can find for mac so I am confused. Where do I go to download it. I currently run OS X 10.12.6 if that ...
1
vote
1answer
149 views

Remapping keys while using vim-latex

I am using the plugin vim-latex/vim-latex. It's a fantastic plugin for sure. But I want some of my own mapping to be there. Say whenever I press 4 I want $$ in return with the cursor on the second $, ...
1
vote
1answer
81 views

How set the Bibliography to the tmp folder using vim latex?

I want to a add the bibliography in to my beamer document. Consider the tree ├── reference.bib ├── slides.pdf ├── slides.tex └── tmp ├── slides.aux ├── slides.log ├── slides.nav ├──...
0
votes
0answers
159 views

Forward search with okular: how to outline searched paragraph?

I have correctly configured forward search both for dvi (with xdvi) and pdf (with okular). It works fine both within lyx and within vim-latex. Yet there is a difference between dvi and pdf: if I ...
12
votes
1answer
2k views

How do I make vim highlight math properly in the align environment?

Sorry if this is the wrong place to ask this, I'm new to the site :/ My issue is this: when editing in vim, my syntax file highlights underscores and carets when found in non-math text, which is fine,...
0
votes
0answers
84 views

Cannot do inverse search with vim's latex-suite and YAP

Though forward search works fine, something is going wrong with the inverse search. In YAP, the command line for inverse DVI search is set to be C:\Users\user\Vim\vim80\gvim.exe -c ":RemoteOpen +%l %...
0
votes
1answer
61 views

installing vim latex on top of yard

Has anyone succeeded in installing vim-latex plugin on top of yadr settings? As suggested in https://github.com/skwp/dotfiles/blob/master/doc/vim/manage_plugins.md I tried using $ yav -u https://...
2
votes
1answer
165 views

Vim-latexsuite bibliography completion does not work

I am using the following files: test.tex: \documentclass{article} \usepackage{natbib} \bibliographystyle{dinat} \begin{document} \citet{s} \bibliography{test} \end{document} and test.bib: @article{...
0
votes
1answer
73 views

what is “<++>” path used for? [duplicate]

My vim snippet appear <++> every time i i use tab. I want to use tab completion, yet the <++> doesn't make any sense. For instance, /title{<++>}. Is there a mapping feature in vim snippet i ...
1
vote
1answer
308 views

Vim-latex's three character shortcut for align*

What is the shortcut in Vim-latex for the align* environment? For the regular align environment, I just type in EAL. I've tried a few combinations for align* but those did not work. Is there a three ...
1
vote
1answer
190 views

vim-LaTeX change current environment

I use vim-LaTeX-suite as my editor, and i really like it, However i would like to know how to change the environment around the courser an example follows: say you are in the following situation % ...
1
vote
1answer
220 views

vim and its latex plugin: compilation optimization

At the moment, using vim I have to first save with :w and then compile using \ll, moreover compilation displays all sort of trash and asks to press enter at the end; what I would like instead is that ...
1
vote
0answers
68 views

Is there a way to let vim-latexsuite folds keep some spaces between sections?

Instead of the default folding like this: I want folding like this: Usually, the folding eats away spaces even if inserted manually.
2
votes
0answers
162 views

How to pass texify tex options?

TLDR: I need to pass -file-line-error-style option to texify. I don't know how :( I use vim-latex and I want to tweak it to use texify instead of pdflatex since this is the engine that TeXWorks uses. ...
1
vote
0answers
340 views

Use SumatraPDF as default viewer for vim-latex

Based on an 5 year old post, this one, I tried to use SumatraPDF as a viewer for vim-latex with following commands in my vimrc file: let g:tex_flavor='latex' let g:Tex_DefaultTargetFormat = 'pdf' let ...
1
vote
0answers
51 views

Tikz and vim-latex compile garbage [duplicate]

I'm new to vim-latex and to tikz. I'm trying to create a FSM using tikz library as explained here. I used the same lated code \documentclass[a4paper]{article} \usepackage{tikz} \usetikzlibrary{calc,...
1
vote
0answers
181 views

How to prevent vim-latex from making a placeholder on empty bracket pair?

Unlike the other questions I found so far, I am aware of the role of the placeholders and actively using the features of vim-latex. However I'm finding it hard to find help customizing them. One ...
0
votes
0answers
348 views

Problems in installing vim-latex

I try to install vim-latex, a plugin for vim to edit latex file, According to the download page In step 3 of 4 :To install the included latex-suite.txt and latexhelp.txt files as vim help ...
1
vote
0answers
35 views

Why does vim-latex sometimes insert <++>? [duplicate]

Intending to use latex-vim's autocompletion environment feature, I hit f5, typed in "definition" and was greeted with \begin{definition} \end{definition}<++> What does <++> mean?
1
vote
0answers
277 views

Why must I reopen my pdf viewer to see document additions? [closed]

I'm using a mac with latex-suite. Everything is working well, except that after hitting \ls or \lv to view my pdf output, if I made additional changes to my tex file, I must first close the pdf before ...
2
votes
1answer
535 views

IgnoreWarning added in vim-latex doesn't work

I use vim-latex suite. After failing to fix the fonts warning in moderncv, I decided to just ignore them. Unfortunately that doesn't work for me neither. Here are relevant settings: let g:...
0
votes
0answers
31 views

What is the good practice of learning LaTeX for a CSE student? [duplicate]

A CSE student has knowledge about some programming language. So, learning LaTeX is not so hard for him. And he also familiar about some indentation and syntax of different language. Now , what is ...
0
votes
2answers
220 views

Forward searching with latex-suite

I am using the windows subsystem for Linux and recently installed vim latex (latex-suite). I was following the tutorial and typed :let g:Tex_CompileRule_dvi = 'latex -src-specials -interaction=...
1
vote
1answer
587 views

Vim-latex: forward and reverse search

I've been trying to get vim and Okular to talk to each other with forward and reverse search. I have vim --servername GVIM --remote-silent +%1 %f in my Okular editor configuration. When I run vim ...
1
vote
1answer
2k views

Setting up a LaTex environment for Vim

I've always used SublimeText for writing and compiling my LaTex files, but recently I've moved the majority of my code to Vim, and I would like to do the same thing with LaTex documents. I am on OSX ...
2
votes
1answer
187 views

Vim Latex ''compacts'' Tikz pictures during compile

Using vim with latex suite on two different computers, on one it's fine, but on the other my tikz pictures ''colapses'' (all text is put to the center of the figure, nothing is drawn) The same pc can ...
1
vote
1answer
312 views

Polyglossia with Vim-Latex and xelatex

I'm currently trying to get LaTeX working in Vim with Vim-LaTeX on Windows. LaTeX is working fine, however, I'm swedish and want to be able to show swedish characters such as å, ä and ö. I've read ...
1
vote
0answers
163 views

How to change vim-latex's default key shortcuts [closed]

I am already using <F5> and <F9> for other system level shortcuts. How do I change these mappings? Is the a tutorial or example config file that I can use as reference?
2
votes
2answers
2k views

How to ignore “Wrong length of dash may have been used.” inside \cite and \newcite

I am using vim-latex and get several warnings stating Wrong length of dash may have been used pointing to a hyphen inside cite or newcite tags. How to I tell vim-latex to ignore certain warnings?