Skip to main content

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
0 votes
0 answers
36 views

PDF Viewer not showing up after compile

I'm new to vim. Using VimR. I've managed to setup everything else correctly, but when I do :VimtexCompile, This returns VimTeX: Compilation completed, but no PDF viewer shows up. I'm sorry if this is ...
Raifa's user avatar
  • 1
0 votes
0 answers
32 views

Struggling setting up VimR and VimTeX

I'm new to Vim, and I've downloaded VimR, and followed https://ejmastnak.com/tutorials/vim-latex/vimtex/#appendix https://castel.dev/post/lecture-notes-1/ to try setting up VimTeX. :help vimtex ...
Raifa's user avatar
  • 1
0 votes
0 answers
81 views

How to get Evan Chen's neovim settings on Mac

I've been using the TeXShop editor and I want to move to neovim/VimTex. Also I thought that I'd use Evan Chen's GitHub https://github.com/vEnhance/dotfiles?tab=readme-ov-file, because he has some ...
QuantumCinammon's user avatar
0 votes
0 answers
50 views

Vim-LaTeX not compiling multiple times

I am not sure why, but when I am working on a multi-file project in TeX with a latexmain file, the compiler included with VIM-LaTeX does not compile multiple times to include newly added citations in ...
Zeta-Squared's user avatar
0 votes
1 answer
56 views

Vim Latex Suite unable to find .bib file if not explicitly specified in the current file

I'm using Neovim and the Latex Suite for Latex Documents. When I put all the code in a single file, cite completion using F9 is working like a charm. However, if I split my source file using \include ...
MoRoBe's user avatar
  • 45
0 votes
0 answers
3k views

Latexmk not Executing in VimTeX / TeX Live Utility Installation Chronically Failing

The Problem (Overview) latexmk is not initializing in Neovim when I open a *.tex file. Furthermore, installation chronically fails when I attempt to install/reinstall latexmk using the TeX Live ...
iamthelabhras's user avatar
1 vote
1 answer
182 views

How to disable brackets concealment vimtex?

Brackets \[ and \] are only shown when my cursor hovering over them. I tried to use let g:vimtex_syntax_conceal_default = 0 and set conceallevel=0, but it still not working.
Timur Syrma's user avatar
1 vote
1 answer
187 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 ...
Drosera_capensis's user avatar
2 votes
2 answers
1k 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 ...
ummg's user avatar
  • 123
0 votes
0 answers
74 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 ...
Noah Stanford's user avatar
1 vote
1 answer
171 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-...
staxyz's user avatar
  • 113
1 vote
1 answer
1k 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 ...
Vladimir's user avatar
  • 827
1 vote
1 answer
81 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 -- ...
Frederic Thomas's user avatar
2 votes
1 answer
3k 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 ...
Peter's user avatar
  • 335
2 votes
1 answer
1k 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 ...
Vladimir's user avatar
  • 827
1 vote
1 answer
246 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: ...
perlboy's user avatar
  • 11
0 votes
1 answer
56 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 ...
perlboy's user avatar
  • 11
0 votes
0 answers
208 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....
Nico's user avatar
  • 101
2 votes
0 answers
48 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 ...
mmazz's user avatar
  • 31
4 votes
2 answers
640 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 ...
Kay's user avatar
  • 43
0 votes
0 answers
122 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-...
Jinrae Kim's user avatar
0 votes
1 answer
347 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, ...
user2472071's user avatar
1 vote
0 answers
3k 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 ...
Jan Opletal's user avatar
1 vote
0 answers
81 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 ...
Henry Shackleton's user avatar
1 vote
0 answers
162 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 ...
BaRud's user avatar
  • 2,199
0 votes
0 answers
243 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 ...
BaRud's user avatar
  • 2,199
2 votes
1 answer
365 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 ...
A.Dumas's user avatar
  • 221
2 votes
0 answers
2k 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 ...
Timothy Roes's user avatar
0 votes
1 answer
746 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 ...
bagheera's user avatar
0 votes
0 answers
127 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 ...
BaRud's user avatar
  • 2,199
0 votes
1 answer
762 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 ...
TomCho's user avatar
  • 221
1 vote
0 answers
391 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 ...
Jeremy Lindsay's user avatar
0 votes
1 answer
184 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 ...
Ryan Hendricks's user avatar
0 votes
1 answer
455 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 ?? ...
Nnomuas's user avatar
  • 11
1 vote
0 answers
152 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 ...
Nnomuas's user avatar
  • 11
0 votes
0 answers
217 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: ...
joheworks's user avatar
0 votes
0 answers
288 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!
Sunghee Yun's user avatar
0 votes
0 answers
460 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 ...
henryzhang03's 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 ...
Andrea Angeletti's user avatar
0 votes
1 answer
1k 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-...
ecjb's user avatar
  • 925
1 vote
1 answer
929 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!
jstusr's user avatar
  • 11
1 vote
1 answer
663 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 ...
LuxGiammi's user avatar
  • 183
2 votes
1 answer
1k 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: ...
Peter Mitrano's user avatar
1 vote
1 answer
396 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 ...
khatchad's user avatar
  • 464
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 ...
John's user avatar
  • 323
3 votes
3 answers
2k 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 ...
Ronak M Soni's user avatar
0 votes
1 answer
319 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}{...
Blub21's user avatar
  • 3
2 votes
1 answer
112 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 ....
samox's user avatar
  • 81
1 vote
1 answer
1k 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 ...
evaristegd's user avatar
1 vote
0 answers
72 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 ...
BaRud's user avatar
  • 2,199