Questions tagged [vim]

Vim is an advanced text editor and IMproved version of the Unix editor Vi often used to produce LaTeX code.

Filter by
Sorted by
Tagged with
2 votes
1 answer
97 views

LuaTex, Xelatex with VimTex

I'm trying to use Georgian language with vimtex. I found out that I have to compile with XelaTex or LuaTex but i don't know how to make vimtex to compile with them. I would like to keep default ...
Luka Makharadze's user avatar
0 votes
1 answer
22 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
1 vote
1 answer
217 views

`latexmk` running in terminal but not in neovim with `vimtex` after switching to native TeXLive installer

I start by giving some Arch-related context, but the question remains about vimtex and latexmk. Yesterday, I tried updating my computer on Arch. I got an error installing texlive-core (2023.66587-1) ...
Nora NICOLAS's user avatar
2 votes
1 answer
131 views

Nomenclature not showing using vimtex / latexmk compilation set-up

I would like to include a list of symbols in my notes and am trying to do this using the nomencl package. Unfortunately, I can't get it to appear. I don't any error messages, but also no output. My ...
Mike's user avatar
  • 149
2 votes
1 answer
102 views

Asymptote figures don't appear with vimtex

I'm trying use the asymptote package with vimtex, it's the first time I try it. When I try to compile, the figure doesn't appear at all in the pdf. This is an example code I found to test: \usepackage[...
DavidCA's user avatar
  • 31
0 votes
0 answers
87 views

alternative to `vim` + `vim-latex`

I am using (g)vim + vim-latex plugin to type latex and I really like the vim-latex shortcuts that make typing, especially equations, faster. But, I am getting really sick of vim's idiosyncrasies such ...
atapaka's user avatar
  • 228
1 vote
0 answers
216 views

What are some top secret hacks for people who are familiar with LaTeX? [closed]

I have used LaTeX for 10 years. I read an introduction to LaTeX on the internet and started writing in LaTeX. With the time I got familiar with Tikz and other packages. Today I learned about: org mode ...
Fukai Mizumi's user avatar
1 vote
1 answer
116 views

undefined control sequence won't go away

I just installed LaTeX and have been using vim to edit a .tex document. no matter what I type the pdftex command it always hits up with the same issue. undefined control sequence. ! Undefined control ...
Luke Peterson's user avatar
0 votes
0 answers
58 views

Looking for basic compiler [duplicate]

I am unfortunately not finding my answer anywhere. So far, I have only used LaTeX in Overleaf. I was hoping to start writing LaTeX from vim. I thus want to download only a compiler for LaTeX, and ...
user19604250's user avatar
1 vote
1 answer
118 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
0 votes
0 answers
147 views

Text line contains an invalid character. ...^^@^^@^^@^^@^^@^^@...... vimtex

I have the following problem (see attached). Sometimes when I compile nearly everything disappears on my live-compiled file (I use vimtex on Linux). The only error I get is the following: Text line ...
Daniil's user avatar
  • 101
1 vote
1 answer
161 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
0 votes
1 answer
508 views

LaTeX-vim live preview using Ubuntu vm on windows - what's your setup?

Question is pretty self explanatory. I'm using a virtual machine on my pc - either the Ubuntu app on the windows store or wsl through windows terminal, and I'm looking for a setup guide with live ...
ChasingUG's user avatar
0 votes
0 answers
66 views

Can vimtex be integrated with a DVI viewer?

Is it possible to configure vimtex to produce a DVI file (instead of PDF) from the a latex source file and update an external DVI viewer? This could potentially speed up the compilation times.
Amit Moscovich's user avatar
0 votes
1 answer
293 views

MacOSX Alternative to UltiSnips, and tools to write mathematics notes in LaTeX faster [duplicate]

For writing textual content and mathematical formulas in LaTeX, I use Vim. I use Vim for writing code, markdown, and LaTeX. I have just recently read an article by a Mathematics PhD student, Gilles ...
Noah Stanford's user avatar
1 vote
1 answer
120 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
0 votes
1 answer
789 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
  • 807
1 vote
0 answers
537 views

Inverse search from Zathura to .tex file

With the help of someone on this stack I was able to configure vim so that it launches with a server name that is the filename it opens. For example, if I run vim filename.tex, vim will launch with ...
Zeta-Squared's user avatar
0 votes
1 answer
282 views

Automatically compiling asymptote on vim, with .asy files in another directory?

I am currently using latex on vim with the vimtex plugin (with mac big sur os), and there are two features I would like to have: Asymptote compiles automatically when I compile latex All auxiliary ...
Michael Zhou's user avatar
1 vote
0 answers
101 views

Standalone insists on compiling all files

I am using vimtex(which itself uses texlive?) to edit some files called A, B, and C. A is my main file and I intend to intend to embed B and C in it. But B and C are large individually, so I wanted to ...
grouptheory's user avatar
2 votes
1 answer
946 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
  • 807
2 votes
0 answers
727 views

VimTeX - latexmk: -reuse-instance bad option. Any suggestions?

I'm trying to set up a Vim and LaTeX system on my Windows machine, but keep running into the same compilation issue. My setup consists of vim (via Git for Windows), lervag's VimTeX (via vim-plug), ...
RobertK20's user avatar
2 votes
1 answer
3k views

Setting up SyncTex with vim and zathura

I am a Latex enthusiast and I have set up my own system for compiling and previewing Latex using vim and zathura because I wanted a very minimal setup, without any plugins such as vimtex and the like. ...
fresh's user avatar
  • 413
1 vote
1 answer
353 views

Using pdflatex using a key binding in vim

I have a latex file which includes multiple figures. These figures are kept in different directories whose path is given in the latex file using the graphicx package: \usepackage{graphicx} \...
Salil's user avatar
  • 11
0 votes
0 answers
119 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
310 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
0 votes
1 answer
361 views

Create tags for files using ctags

I'm using ctags to create a tags file for use in Vim in a latex project. I have a main.tex file and several files in the chapters directory such as chapters/chapter1.tex. I have the following code in ...
Mehran's user avatar
  • 3
1 vote
0 answers
2k 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
63 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
172 views

Error while install vimtex on ubuntu 20.10

I used to have vim on Ubuntu 19.04. After Upgrade to 20.10, vimtex is not working. I re-installed it but still not compiling. . In the Github repo, there seems to be explanation about how to make it ...
dmx's user avatar
  • 247
1 vote
0 answers
143 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,159
0 votes
0 answers
124 views

How to compile several

I'm working on a larger project, but I'm struggling with splitting my tex-file into several tex-files, as I cannot seem to compile them into one pdf. I'm working from a Linux terminal trying to write ...
hodjafrapjort's user avatar
0 votes
1 answer
236 views

Vim pdf viewer blocking the terminal

When I call the command command ViewPdf !okular %:r.pdf on Vim (in .vimrc), the terminal is blocked and I cannot continue writing my document.How can i tweake this vim command to open my pdfviewer ...
LATEX NOOB JP's user avatar
2 votes
2 answers
950 views

Dollar sign breaks syntax highlighting in Vim

The $ symbol opens inline math environment, unless it is used in verbatim enviromnent. However Vim can’t seem to detect that it’s in a verbatim environment, and as a result the dollar breaks the ...
Skippy le Grand Gourou's user avatar
0 votes
1 answer
457 views

Vim: spell-check words with diacritics

I write my LaTeX documents using Vim with the vimtex plugin, and for the most part Vim's spell-checker satisfies my needs. However, I am being quite frustrated by the fact that it does not seem to ...
A.P.'s user avatar
  • 724
0 votes
0 answers
207 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,159
3 votes
0 answers
109 views

Coloring footnote syntax in vim

I would like LaTeX footnotes to have a different color in nvim, much like VS Code does it: I found this old question, which suggests putting this in after/syntax/tex.vim syntax match footnote "\...
Timothy Roes's user avatar
0 votes
0 answers
105 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,159
0 votes
2 answers
122 views

in VIM using F5 how to add a placeholder on top

I have an environment for Theorem (aliased to "thm") When in VIM editor I write "thm" followed by "F5" I get: \begin{thm} \end{thm}<++> Can I edit the macro so that I get instead: \begin{...
Herman Jaramillo's user avatar
1 vote
0 answers
295 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
4 votes
1 answer
105 views

vim-t line split not working

I'm using context on my mac machine. I'm trying to wrap lines automatically using lines=split when defining vim typing, but it's not working. This is how I define vim typing at the very top of my ....
tulelolo's user avatar
0 votes
0 answers
193 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
270 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
343 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
1 answer
329 views

how to focus Vim when doing pdf-to-tex search from Okular

When working with Latex files, I use Vim to edit the tex file and Okular to view the corresponding pdf. I have pdf-to-tex search (which requires running Vim as a server, and compiling the tex file ...
Trevor's user avatar
  • 133
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
913 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
  • 873
1 vote
1 answer
360 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 ...
Raffi Khatchadourian's user avatar
1 vote
1 answer
974 views

vim/vimtex editing text in curly braces

What is the fastest way to edit the content of braces in vim. I use the vimtex plugin. I'm looking for a similiar way like 'cit' (change in tag) does for HTML editing. For example: \title{Some ...
Maximilian Fornacon's 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 ...
John's user avatar
  • 323

1
2 3 4 5 6