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
0answers
48 views

Vim-Latex Suite Options Setup

I have recently started using vim-LaTeX as my preferred LaTeX editor. I have gone through the documentation but still have some things unable to work below. I would appreciate any help. I am unable to ...
0
votes
0answers
20 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....
1
vote
0answers
25 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 ...
3
votes
2answers
190 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 ...
0
votes
0answers
35 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-...
0
votes
1answer
80 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, ...
0
votes
0answers
165 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 ...
1
vote
0answers
27 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 ...
1
vote
0answers
52 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 ...
0
votes
0answers
80 views

MacVim to Skim forward search (without Vim-Latex)

I want to set up forward search from MacVim to Skim. I am using a Mac with Big Sur. It seems like the problem in forward searching (with respect to backward searching, which is fairly simple to set up)...
0
votes
0answers
23 views

Latex-Suite: Folding of math-environment breaks mode in Vim

I am using Latex-Suite (somewhat modified) along with the pluggins syntastic, vim-matchit, nerdcommenter for editing .tex-files. After some editing, Vim starts displaying text after folded math-...
0
votes
0answers
53 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 ...
1
vote
1answer
48 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 ...
2
votes
0answers
398 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 ...
0
votes
0answers
44 views

Latex-suite Alt-L macro angle brackets not working

When I use the Alt-L macro to produce angled brackets there appears to be a small typo. Typing < then alt+l yields langle <++> \rangle <++> when I would instead like to see \langle <...
0
votes
1answer
174 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 ...
0
votes
0answers
38 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 ...
0
votes
1answer
205 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 ...
1
vote
0answers
77 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 ...
0
votes
1answer
78 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 ...
0
votes
1answer
189 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 ?? ...
0
votes
0answers
56 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 ...
0
votes
0answers
50 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: ...
0
votes
0answers
143 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!
0
votes
0answers
111 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 ...
0
votes
0answers
25 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 ...
0
votes
1answer
304 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-...
1
vote
1answer
464 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!
1
vote
1answer
221 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 ...
2
votes
1answer
564 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: ...
0
votes
1answer
144 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 ...
5
votes
1answer
1k 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 ...
2
votes
1answer
354 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 ...
0
votes
1answer
107 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}{...
2
votes
1answer
87 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 ....
1
vote
1answer
685 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 ...
1
vote
0answers
65 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 ...
3
votes
1answer
74 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
100 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: \...
2
votes
1answer
191 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
1k 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
31 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 ...
1
vote
1answer
134 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
49 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
74 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
41 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
210 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
99 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 ...
3
votes
1answer
219 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
368 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 ...