Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Well-integrated support for ClutTeX compiler #2116

Open
paniash opened this issue Jul 26, 2021 · 3 comments
Open

Well-integrated support for ClutTeX compiler #2116

paniash opened this issue Jul 26, 2021 · 3 comments

Comments

@paniash
Copy link
Contributor

paniash commented Jul 26, 2021

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).

@lervag
Copy link
Owner

lervag commented Jul 26, 2021

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.

@jliptrap
Copy link

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'}

@GersiD
Copy link

GersiD commented Mar 4, 2023

Equivalent Lua for anyone wondering

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants