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
1 answer
72 views

Problem with \cite{ F9 in VIM

I am working on Linux Ubuntu, and work on VIM 8.2. The latex syntax is working when I open a .tex document, but when using \cite{ and F9, nothing happen. Futhermore, I noticed that the following ...
user avatar
1 vote
2 answers
119 views

Simple bibliography with vim-latex (latex-suite)

I have recently switched from using Overleaf to writing my documents in Vim with the vim-latex plugin, also known as latex-suite. For the most part everything is working smoothly, but I cannot get ...
user avatar
  • 113
0 votes
0 answers
45 views

In what ways are TeXStudio and Vim-LaTeX better than each other? And am I going too deep into the rabbit hole of packages/plugins/add-ons in LaTeX? [duplicate]

I have installed TeXStudio and Vim-LaTeX and am conflicted as to which the better option is. As you can tell, I am new to LaTeX and I have only just needed it as a mandatory text editor for my Masters ...
user avatar
0 votes
0 answers
19 views

Opening current location in evince from vim

To move from tex file to position in pdf corresponding to the cursor in vim editor, I use the following code in tex_latexSuite.vim file: "" Easy moving from TeX to PDF: """...
user avatar
  • 303
1 vote
1 answer
44 views

vim-latex ignores compile rule

I just learned about LaTeX-Suite for vim and have a hard time setting up a compilation rule that invokes make to process my custom Makefile. The relevant section in my .vimrc reads " vim-latex-...
user avatar
  • 113
0 votes
1 answer
83 views

Live preview with Vim-LaTeX not updating live

I have been using Vim-LaTeX for quite some time now. However, each time I want to see a change, I have to save the document, compile it with \ll, and then preview it with \lv. Today, I decided to ...
user avatar
  • 747
1 vote
1 answer
52 views

After LatexCompiling with \ll the file /usr/share/texmf/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex is displayed instead of the source tex file

Upon compiling a large Latex file with "\ll" inside Vim that contains on purpose an latex command typo (using $\relta$ instead of $\Delta$) I get 3 windows (with the Vim look and feel -- ...
user avatar
1 vote
1 answer
202 views

How to compile a file using vim-latex or vimtex?

How does one compile a .tex file from within vim using either vim-latex or vimtex? In both cases the documentation say to 'do' \ll, but I have no idea what this means. If I press : and then type \ll I ...
user avatar
  • 305
2 votes
1 answer
301 views

How to change folding settings in Vim-LaTeX?

I am new to Vim so I apologize if the answer to this questions is too obvious. I wanted to try Vim-LaTeX, and I like it so far after a couple of days using it. This is the problem that I have: I ...
user avatar
  • 747
0 votes
0 answers
167 views

How can I get Vim-latex to work on Windows 10?

I have been following the steps outlined on the official page and some old answers from this forum, and I have not been able to get Vim-latex to work. I installed Vim correctly, I unzipped the files ...
user avatar
1 vote
1 answer
124 views

Error E992 re modeline when requesting help in MacVim [closed]

I just got Latex-suite properly installed and working, except when I do :help latex-suite.txt I get: "latex-suite.txt" [readonly] 3474L, 151620B Error detected while processing modelines: ...
user avatar
  • 11
0 votes
1 answer
26 views

Troubleshooting getting Latex-Suite running in MacVim

I am trying to install Latex_Suite in MacVim. Before attempting the vim/LaTeX install I downloaded and installed MacTex-2018, the version required for macOS 10.13.6. I then installed and tested ...
user avatar
  • 11
0 votes
0 answers
85 views

Vim-Latex and subfiles without breaking autocompletion

I am using vim-latex to compile my latex code, but I want to use the latex package subfiles. My structure is this: ├── main.tex ├── main.tex.latexmain └── part ├── part.tex └── part.tex....
user avatar
  • 101
2 votes
0 answers
36 views

Vim Latex spellcheck accents (\ ')

I'm using vim and latex for my proyecs. In general I use English and Spanish. My problem is that in Spanish there are a lot of accents and for a "security" thing I prefer (and it's request ...
user avatar
  • 31
4 votes
2 answers
378 views

Compiling a .dtx file requires the compiled .sty, this circular dependency seems like a catch-22 to me

I'm trying to set up a TexLive installation on Ubuntu to use with VimTex. I installed texlive and texlive-pictures, which should have all the packages I need for using circuitikz -which I need for my ...
user avatar
  • 43
0 votes
0 answers
117 views

macvim, mactex, and M1 MacBook Air (MBA) [duplicate]

I'm struggling with using macvim and mactex on M1 MBA. Here is what I've done. Install macvim (via homebrew, probably). Install mactex. Install TeXShop 4.58, Ghostscript-9.53.3-Full.pkg, and MacTeX-...
user avatar
0 votes
1 answer
186 views

vim-latex installation

I have attempted to install vim-latex (Latex-suite) with Pathogen, though I seem to have (at least partially failed). I followed the instructions given in the answer here, though upon following them, ...
user avatar
0 votes
0 answers
829 views

How to compile via LuaLaTeX in Vim?

I recently started to use Gnuplot as my plotting solution, and I started to use terminal more and found about Vim, I immediately fell in love with it. I have finally got working latexmk compilation ...
user avatar
1 vote
0 answers
42 views

Latex-Suite with TikZ giving errors when compiling new equations

I have a problem using the Latex-Suite package for vim, which only happens when compiling with the TikZ package. The problem comes whenever I try to compile a document when a new labeled equation has ...
user avatar
1 vote
0 answers
85 views

stop auto compiling in vim+latex-suite

set history=700 " How many line Vim should remember set nocompatible " because vim is not vi set ignorecase " Searching ...
user avatar
  • 1,999
0 votes
0 answers
124 views

latexmk to show error in quickfix

Please consider this small and wrong latex. I am using vim as editor. \documentclass[a4paper]{article} \begin{document} \hello \end{document} I am trying to compile it using (I use vim-latex, but for ...
user avatar
  • 1,999
1 vote
1 answer
169 views

How to use Xelatex with vim-latexsuite?

I want to compile my tex file with Xelatex \ll My file started with % !TeX program = xelatex % !TEX TS-program = xelatex but xelatex is not used I am on $ pacman -Q vim-latexsuite ...
user avatar
  • 151
2 votes
0 answers
902 views

How to get synctex forward searching to work with vim and zathura on macOS?

Using the vimtex plugin, forward searching (from the .tex file to the .pdf) works with Skim but not with zathura. In nvim, the error Vimtex: Viewer cannot find Zathura window ID! appears. This seems ...
user avatar
0 votes
1 answer
348 views

Vimtex compiling different file in folder opens new zathura window

I am using vimtex to write a latex document, and my main tex file refers to many different tex files in the folder. If I am editing a specific tex file and save I automatically see changes in zathura ...
user avatar
0 votes
0 answers
60 views

latexmk not returning cursor back in vim

First, one disclaimer: I don't know if I should put it here or in vim. But I hope there are many people common here. I am using AsyncRun to compile all my projects and files, and for this question, I ...
user avatar
  • 1,999
0 votes
1 answer
366 views

How do I deal with projects with multiple files sing Vim-latex

So I started a big project which has multiple files that are included in the main file. I'm using vim, specifically with the vim-latex plugin. The problem is that vim-latex doesn't work for the ...
user avatar
  • 211
1 vote
0 answers
163 views

vim-latex and Okular: forward/inverse search not working for DVI

I'm trying to get DVI forward search to work (I don't think SyncTeX is relevant) with vim-latex/latex-suite and Okular. I'm using Arch Linux. I've been following the official vim-latex beginner's ...
user avatar
0 votes
1 answer
133 views

Is using newcommand in latex as fast as defining keybindings on Vim

I've been struggling with writing fast in Latex for quite a long time. Although my typing speed is not too horrible, it still takes me a long time to write complicated formulae on Overleaf, for ...
user avatar
0 votes
1 answer
295 views

Impossible to install pythontex... pythontex command always unavailable

I installed the pythontex package in my texmf directory, but still the command pythontex is not found when i write it in a terminal... And when i compile, \printpythontex returns ?? PythonTeX ?? ...
user avatar
0 votes
0 answers
87 views

How to make Pythontex work with arara on Vim Latex-Suite?

I'm trying to use Pythontex on Vim Latex-suite, compiling with arara 3. I've tried the method that Uwe Ziegenhagen proposed here : Arara rule for Pythontex I put exactly the same pythontex.yaml ...
user avatar
0 votes
0 answers
115 views

VIM-LaTeX - error while trying to open a file with extension tex using vim

when I open any file with extension tex using vim I get an error below: "test.tex" 1L, 9C Error detected while processing /Users/user_name/.vim/ftplugin/latex-suite/texviewer.vim: line 895: ...
user avatar
0 votes
0 answers
213 views

JetBrain or PyCharm like LaTeX IDE with vim plug-in

Does there exist JetBrain or PyCharm like LaTeX IDE with vim plug-in where you auto-complete for commands, etc. are supported? Thank you in advance!
user avatar
0 votes
0 answers
187 views

MacVim + Skim + latexmk Setup

How do I setup MacVim + Skim PDF Viewer on macOS? I have searched online for various guides but I end up getting extremely confused. I'm relatively new and have only used Overleaf in the past but due ...
user avatar
0 votes
0 answers
43 views

ctr-click skim pdf world to corresponding line on vim latex editor [duplicate]

I am using vim latex on my mac to compile .tex files whose output pdf is shown on skim to visualize them. I would like to know if there is a way to couple the two programs in such a way that when ...
user avatar
0 votes
1 answer
584 views

trouble with packages dsfont and minted with using vimtex

I'm trying to use vim / nvim as text editor in a (long) .tex file containing both minted and dsfont package. Here is an example: % !TeX document-id = {f2e9e8a7-1386-4a73-9989-55350ce6c529} % !TeX TXS-...
user avatar
  • 779
1 vote
1 answer
670 views

Vim latex on iPad pro

I want to use vim on iPad pro to write LaTeX (I never wrote it before in vim), but I don’t understand how to install LaTeX in vim on iPad. Саn someone help? Thanks!
user avatar
  • 11
1 vote
1 answer
354 views

Latex-suite vim-latex automatic recompilation of file when modified

I've installed vim-latex (aka latex-suite) ViM plugin and started to customize it. One thing I cannot find is the ability to perform an automatic recompilation every time the .tex file I'm editing is ...
user avatar
  • 153
2 votes
1 answer
831 views

Vim LaTeX-Suite syntax highlighting seems wrong [duplicate]

The underscores and carrots are highlighted red which is really an eyesore. How can I change/remove this? The plugin works fine, so I don't think it's an installation issue. Update for more details: ...
user avatar
0 votes
1 answer
267 views

Enabling visually italicizing characters in \emph 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. Is there a way to enable this behavior for \emph as ...
user avatar
5 votes
1 answer
2k views

How to make a PDF viewer jump to the latest tex update?

The vim-latex-live-preview Vim plugin and with :LLPStartPreview periodically refreshes the resultant PDF (by calling pdflatex on the tex file). After a refresh the location displayed in the PDF is ...
user avatar
  • 293
2 votes
2 answers
926 views

vim-latex on Overleaf

I'm a diehard vim user currently being forced to use overleaf for latex editing by various collaborators. Since overleaf has both a vim mode and support for keybindings, I was wondering if anyone had ...
user avatar
0 votes
1 answer
170 views

Word count for files included with input

I'm trying to do a wordcount of my thesis project in LaTeX. I'm using VIM with VIMLaTeX on an ubuntu machine. I have the following code in my main.tex file \newcounter{Hoofdstuk} \newcommand{\file}{...
user avatar
  • 3
2 votes
1 answer
98 views

Vim-Latex (Latex-Suite) closes vim instance after compilation [closed]

When I create/change some labels, and recompile with \ll, the vim instance of my .tex document closes unexpectedly. I do nothing else. When using let g:Tex_MultipleCompileFormats = 'pdf' in my ....
user avatar
  • 41
1 vote
1 answer
903 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 ...
user avatar
1 vote
0 answers
70 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 ...
user avatar
  • 1,999
3 votes
1 answer
104 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} \...
user avatar
2 votes
0 answers
134 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: \...
user avatar
2 votes
1 answer
256 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 ...
user avatar
  • 303
2 votes
1 answer
2k 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 ...
user avatar
0 votes
0 answers
33 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 ...
user avatar