vimtex icon indicating copy to clipboard operation
vimtex copied to clipboard

Well-integrated support for ClutTeX compiler

Open paniash opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe it.

It would be a nice addition to add integrated support for ClutTeX instead of relying on the generic compiler usage.

Describe the solution you'd like

Similar to support for latexmk, ClutTeX could be added as an option for specifying the compiler backend.

ClutTeX is primarily written in lua and now that neovim supports it, I think it would be well integrated. A major selling point of ClutTeX is that is does everything latexmk does (AFAIK) and doesn't clutter the current directory (which as opposed to latexmk has to be cleaned up via latexmk -c).

paniash avatar Jul 26 '21 08:07 paniash

I don't think it should be too hard, but it will take some time and I consider it a low priority request. I will not mind a PR, if anyone should have time and interest to work on it.

lervag avatar Jul 26 '21 21:07 lervag

latexmk doesn't have to clutter the current directory, here's a line of vimtex config to put all that clutter in a build subdir:

let g:vimtex_compiler_latexmk = {'build_dir' : 'build'}

jliptrap avatar Jan 11 '23 01:01 jliptrap

Equivalent Lua for anyone wondering

vim.g.vimtex_compiler_latexmk = { build_dir = "build" }

GersiD avatar Mar 04 '23 23:03 GersiD