Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
45 views

Vim-Latex is not compiling

I started using vim as my latex text editor. But when I try to compile my .tex file i get this message: || I can't find file `example'. example.tex || Emergency stop Any suggestion? Also, I don't ...
1
vote
0answers
60 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
14 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
24 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
29 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
55 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
25 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
50 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
32 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
96 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
124 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
160 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 ...
1
vote
0answers
101 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
75 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
58 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
233 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
140 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 ...
0
votes
0answers
58 views

Menu won't show in Vim + LaTeX suite

I just install the vim-latex plugin, and the menus won't show up in my terminal when I'm editing a .tex file. I use iTerm on OS X High Sierra. Does anyone know why ? Virgile
1
vote
1answer
96 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
55 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
110 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 ...
8
votes
1answer
991 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
68 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
56 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
141 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
67 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
237 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
153 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
152 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
53 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.
1
vote
0answers
124 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. ...
0
votes
0answers
64 views

Vim-latex says file not found [duplicate]

Vim latex (on Windows 7) gives me error when trying to load a figure, saying file not found. I know the question doesn't belong to this forum, but I didn't get any answers on vi.stackexchance (I ...
1
vote
0answers
225 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
40 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
140 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
233 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
243 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 ...
1
vote
1answer
394 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
190 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
468 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
162 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
272 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
130 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?
1
vote
2answers
1k 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?
4
votes
1answer
937 views

LaTeX-Suite installation not working

I've recently installed Vim for Windows 10. After this I have installed latex-suite files in the $HOME/vimfiles/bundle directory (I'm using pathogen). I've configured my _vimrcfile as following: ...
4
votes
0answers
221 views

vim-latex: add new math environment

I am using vim latex-suite for writing, and I make extensive use of the tikzcd-environment for typesetting commutative diagrams. However, vim-latex does not recognize this as a math environment and e....
0
votes
0answers
73 views

vim-latex suit forward search

I am trying to enable forward search in vim-latex. Since it is not working, I tried a vanilla .vimrc: "Vundle Plugins" {{{ filetype off set rtp+=~/.vim/bundle/Vundle.vim/ call vundle#begin() Plugin '...