vimtex VS texlab

Compare vimtex vs texlab and see what are their differences.

vimtex

VimTeX: A modern Vim and neovim filetype plugin for LaTeX files. (by lervag)

texlab

An implementation of the Language Server Protocol for LaTeX (by latex-lsp)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
vimtex texlab
94 23
5,076 1,320
- 5.2%
8.9 9.2
8 days ago 3 days ago
TeX Rust
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vimtex

Posts with mentions or reviews of vimtex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-10.
  • My uses for vimwiki have dried up... and it makes me a little sad
    3 projects | /r/vim | 10 Jun 2023
    I use vimwiki almost daily, but it's not professional use, just daily notes and organizing my life. I started using zim but I found I really missed writing/editing with vim. Then I found vimwiki. There are things I'm not super happy about with it. I saw that /u/lervag (love his vimtex plugin) released a wiki plugin and I was/am interested in it, but I have so much in my wiki right now that I don't want to deal with conversion issues.
  • I like Tabasco.
    5 projects | /r/linuxmasterrace | 6 May 2023
    I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And all the other stuff you mention is implemented quite competently by various plugins like vim-fugitive, coc.nvim, vimspector and copilot.vim.
  • What are all the accepted "inner" motion arguments?
    6 projects | /r/vim | 25 Mar 2023
    Some language-specific plugins like vimtex also include their own text objects.
  • [VimTeX] vim on mac lags when trying to use includegraphics[]{} for attaching image to a .tex file
    2 projects | /r/vim | 26 Feb 2023
    I am new to Vim and LaTeX, but I'm trying to learn both at the same time so I started using VimTeX to edit .tex files on MacVim. I got almost everything working now (vimtex itself, zathura, autocomplete, etc.), but one thing. And that is Vim won't respond for a while whenever I try to include an image using \includegraphics[]{} from \usepackage{graphicx}. By typing so, MacVim will request permission to access several folders but then hangs from there for like at least 10 minutes while my computer gets super hot and fans kick on loudly like it's doing something heavy in the background.
    2 projects | /r/vim | 26 Feb 2023
    I would post an issue on the VimTeX Github page: https://github.com/lervag/vimtex/issues. That way you might also get help to disable the possible indexing. I have also needed to disable project file scanning to stop Vim from hanging, when pressing Ctrl + N to perform simple auto-complete.
  • Which vim plugins do not have a lua equivalent yet?
    23 projects | /r/neovim | 18 Feb 2023
    Absolutely VimTeX
  • Vim + LaTeX
    4 projects | /r/vim | 11 Feb 2023
    In that blog post that is done using the vim plugin vimtex, which gives you syntax highlighting, indentation, etc, and also provides a way of automatically compiling your latex code into a PDF.
  • PdfAnnots in Lua
    2 projects | /r/neovim | 6 Feb 2023
    Amazing! Here is the issue #2631.
    2 projects | /r/neovim | 6 Feb 2023
    I mostly use NeoVim to write LaTeX documents and was grateful to have u/lervag's help setting up PdfAnnots so that when hovering over a citation, I can run PdfAnnots on the associated pdf for that citation. Here is the Vimscript that he came up with: ``` function PdfAnnots() abort try let infile = vimtex#context#get().handler.get_actions().entry.file catch /E121/ echo "No file found" return endtry
  • [HELP] Configuring Vim-tex in NvChad config
    4 projects | /r/neovim | 6 Feb 2023
    Hi, I've been trying to configure vim-tex working on the NvChad configs. I got the :VimtexCompile working and giving me output pdf. But the usual ll is giving me these errors. Also in vim {{ would expand to \left{ \right}. It's not working with NeoVim. I'm using LuaSnip with friendly-snippets with the default config in NvChad.

texlab

Posts with mentions or reviews of texlab. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-27.
  • UnTeX - Parsing and formatting TeX documents with Rust - Looking for help
    6 projects | /r/rust | 27 Jan 2023
    I have a very limited understanding of Parsing but I would assume that Latex Language Servers have to implement similar parsing too? So maybe check out TexLab. It’s implemented in Rust so maybe it’s an interesting reference.
  • Texlab LSP server crashes on launch
    2 projects | /r/neovim | 25 Nov 2022
    If you’re still stuck you can try reporting an issue here or look for ones similar to yours: https://github.com/latex-lsp/texlab
  • Overleaf makes me mad and TeXstudio is superior
    3 projects | /r/LaTeX | 25 Oct 2022
    If you use emacs, I recommend to get some modern goodness by installing lsp-mode (or eglot) to interact with language servers and then install a latex language servers like texlab. This in my expericence really improved the autocompletion so I don't feel like I loose anything over using vscode, texlab or overleaf .Recently I also switched to lsp-ltex for language-tool integration. All those tools lsp servers can also be used from other editors with lsp support, so use what you prefer. I would only recommend emacs to those who want a fully customized and keyboard driven experience and are not afraid to eventually modify some lisp code. But it has its unique advantages, many editing tools and in addition to the still great auctex also cdlatex for super quick math typesetting.
  • Is there a way to continuously update the PDF file while using on Emacs?
    2 projects | /r/emacs | 11 Sep 2022
    you can use https://github.com/latex-lsp/texlab
  • Most straightforward installation of LaTeX in VSCode
    6 projects | /r/LaTeX | 9 Sep 2022
  • Ask HN: What LaTeX editor do you use?
    3 projects | news.ycombinator.com | 26 Aug 2022
    I use overleaf these days mostly because overleaf makes it effortless to work across multiple machines. I still have my neovim + texlab [1] setup just in case though.

    [1]: https://github.com/latex-lsp/texlab

  • pantran.nvim: asynchronous, interactive machine translation directly from your editor
    8 projects | /r/neovim | 6 Jul 2022
    Story time: I really love Neovim for programming, but one thing I love it even more for is scientific writing. Tools like texlab make this especially fun! But for a well-rounded experience, I need a few more things: (i) Grammar checking. For that I can recommend ltex, an LSP-server which adds LaTeX support to language tool. (ii) Thesaurus lookup. (Neo)vims integrated thesaurus format is a little bit limited. But thankfully 'thesaurusfunc' exists so I could easily write a small plugin to add support for openoffice.org mythes thesauri. (iii) Machine translation. Now we're finally getting to the topic of this post. I write most of my stuff in English but I'm not a native speaker, so machine translation is valuable for me. It can help me to overcome writers block to an extent, for example. There already exist a few plugins for that problem, like vim-translator or translate.nvim. But none of these support interactive modes, a slick UI, and, as far as I know, useful things like motions and counts. This is where my plugin pantran.nvim comes into place! The demo should speak for itself. In the end it was a lot more effort than I anticipated but I'm very pleased with the result. I hope this can be useful to others as well!
  • Using texlab with lspconfig keeps giving me build errors but cannot troubleshoot.
    2 projects | /r/neovim | 1 Jun 2022
    I'm going a bit crazy over this. I'm trying to compile a latex document; and I have texlab configures. The nvim-lspconfig defines the custom function TexlabBuild which calls textDocument/build function from texlab; which should be running latexmk with the proper arguments.
    2 projects | /r/neovim | 1 Jun 2022
    So i found the following issue https://github.com/latex-lsp/texlab/issues/122 . While it's not my issue; i think texlab has issues with multi file projects in general. I use subfile package to organize my latex projects as i used to use vimtex for multi file projects and vimtex has good support for this.
  • AUCTeX vs. LSP (Digestif vs. TexLab)
    2 projects | /r/emacs | 30 Apr 2022
    AUCTeX and cdlatex are tried and tested packages in supporting the composition of TeX-documents. However, with the advent of LSP-servers, like TexLab and digestif, there is another (viable?) option to compose TeX-documents.

What are some alternatives?

When comparing vimtex and texlab you can also consider the following projects:

coc-texlab - TexLab extension for coc.nvim

nvim-lspconfig - Quickstart configs for Nvim LSP

ltex-ls - LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others

nvim-texlabconfig - nvim-texlabconfig: Forward and Inverse Search for Texlab and neovim

tex-conceal.vim

tectonic - A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.

xournalpp - Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.

zathura - a document viewer

mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

homebrew-zathura - Homebrew formulae to build Zathura on Mac OS X

ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!

tree-sitter-markdown - Markdown grammar for tree-sitter