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
24 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 ...
0
votes
0answers
20 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 ...
1
vote
0answers
69 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
38 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
88 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
26 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
114 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
40 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
56 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
87 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
40 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
135 views

Problem with 'texMathZone' in vimtex

I'm using vimtex and code snippets from this article. He use these code to create context sensitive snippets, essentially for math environment. global !p texMathZones = ['texMathZone' + x for x in ['...
0
votes
0answers
29 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
96 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
52 views

VimTex download for mac

I want to learn vimtext but the website doesn't mention compatibility with macOS. Not to mention I don't really know how to install it. its not a generic point and click installation which makes it ...
0
votes
0answers
65 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
21 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
184 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
310 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
106 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 ...
1
vote
1answer
358 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
86 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
678 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
0answers
248 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
70 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
81 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
532 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
61 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
55 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
73 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
154 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
999 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
109 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
45 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
71 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
182 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
81 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
176 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
319 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
621 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 ...
3
votes
2answers
556 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
648 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
86 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
631 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
249 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
264 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
120 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
212 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 ...