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
1answer
48 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
0answers
38 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
37 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 ...
0
votes
2answers
118 views

Vim LaTeX-Suite syntax highlighting seems wrong

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
58 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
264 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 ...
1
vote
0answers
103 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
37 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}{...
0
votes
0answers
25 views

Sections title does not appear in folding-text of VIM's latex-suite

I have issues with the folding of latex-suite. The title of Parts/Chapters/Sections/etc does not appear in the folding-text. \documentclass{article} \begin{document} \section{A section} Some ...
2
votes
1answer
64 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 ....
0
votes
0answers
136 views

Using vim-latex-live-preview: how to take you where you edited the file

When I'm editing a .tex file in Vim with vim-latex-live-preview, I type :LLPStartPreview which opens the file at its beginning. Which command do I have to make such that the pdf viewer automatically ...
1
vote
1answer
295 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 ...
0
votes
0answers
24 views

vim-latex, remove spell checking from inside all commands from a package [duplicate]

When writing LaTeX documents in vim with spell checking sometimes words that shouldn't be is marked as spelling ends up being marked as spelling. I have problems mainly with commands from the command ...
1
vote
0answers
53 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 ...
2
votes
1answer
36 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
51 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
95 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
661 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
30 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
73 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
44 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
70 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
38 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
152 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
64 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
142 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
245 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
415 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
1answer
270 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
359 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
81 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
493 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
236 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
195 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
99 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
188 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 ...
17
votes
1answer
3k 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
102 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
71 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
186 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
76 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
353 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
267 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
346 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
71 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.
2
votes
0answers
201 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. ...
1
vote
0answers
465 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
76 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
222 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 ...
1
vote
0answers
449 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 ...