void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.51k stars 2.11k forks source link

Package request: latexmk #35626

Closed timsofteng closed 2 years ago

timsofteng commented 2 years ago

Tool for pdf compilation from tex.

https://github.com/gingerhot/latexmk

dkwo commented 2 years ago

I think we already have it, at least as part of texlive

$ xlocate latexmk
fish-shell-3.3.1_1      /usr/share/fish/completions/latexmk.fish
python3-Sphinx-4.2.0_1  /usr/lib/python3.10/site-packages/sphinx/texinputs/latexmkjarc_t
python3-Sphinx-4.2.0_1  /usr/lib/python3.10/site-packages/sphinx/texinputs/latexmkrc_t
texlive-20210325_2      /usr/bin/latexmk -> /usr/share/texmf-dist/scripts/latexmk/latexmk.pl
texlive-20210325_2      /usr/share/texmf-dist/scripts/latexmk/latexmk.pl
texlive-core-2021.58710_1       /usr/share/texmf-dist/scripts/arara/rules/arara-rule-latexmk.yaml
texlive-core-2021.58710_1       /usr/share/texmf-dist/scripts/make4ht/extensions/make4ht-ext-latexmk_build.lua
texlive-core-2021.58710_1       /usr/share/texmf-dist/tex/latex/asymptote/latexmkrc
texlive-core-2021.58710_1       /usr/share/texmf-dist/tlpkg/tlpobj/latexmk.tlpobj
timsofteng commented 2 years ago

I think we already have it, at least as part of texlive

$ xlocate latexmk
fish-shell-3.3.1_1      /usr/share/fish/completions/latexmk.fish
python3-Sphinx-4.2.0_1  /usr/lib/python3.10/site-packages/sphinx/texinputs/latexmkjarc_t
python3-Sphinx-4.2.0_1  /usr/lib/python3.10/site-packages/sphinx/texinputs/latexmkrc_t
texlive-20210325_2      /usr/bin/latexmk -> /usr/share/texmf-dist/scripts/latexmk/latexmk.pl
texlive-20210325_2      /usr/share/texmf-dist/scripts/latexmk/latexmk.pl
texlive-core-2021.58710_1       /usr/share/texmf-dist/scripts/arara/rules/arara-rule-latexmk.yaml
texlive-core-2021.58710_1       /usr/share/texmf-dist/scripts/make4ht/extensions/make4ht-ext-latexmk_build.lua
texlive-core-2021.58710_1       /usr/share/texmf-dist/tex/latex/asymptote/latexmkrc
texlive-core-2021.58710_1       /usr/share/texmf-dist/tlpkg/tlpobj/latexmk.tlpobj

image 517mb on disk...

dkwo commented 2 years ago

Agreeed. The correct project homepage is https://personal.psu.edu/~jcc8/software/latexmk/ though (version 4.76).

dkwo commented 2 years ago

What is the purpose of having this outside of texlive?

timsofteng commented 2 years ago

I personally need it for vimtex compiling:

https://github.com/lervag/vimtex#configuration

I use tectonic as backed but I guess it would be helpful to have latexmk as well. Correct me please if I'm wrong.

dkwo commented 2 years ago

Interesting, I was not aware of that. Then having latexmk as separate pkg would make sense.

timsofteng commented 2 years ago

And maybe it would be nice to have some tex fonts in repo which supports cyrillic text... Can't find...

dkwo commented 2 years ago

On a second thought: tectonic V2 supports continuos compilation (something like watch), so perhaps you're able to bypass latexmk completely using just vimtex? I see some issues/wp in vimtex to this regard. Does it make sense to you?

vutunganh commented 2 years ago

Is this the issue you have in mind?

https://github.com/lervag/vimtex/issues/2280

From what I'm reading, vimtex author (justifiably) does not want to integrate continuous compilation with tectonic, see these relevant comments https://github.com/lervag/vimtex/issues/2280#issuecomment-994005073, https://github.com/lervag/vimtex/issues/2280#issuecomment-994009179. The reason being that there is no way for vimtex to know the compilation status from the watch mode of tectonic.

dkwo commented 2 years ago

Yes, and you are right: at the moment is not a viable option to drop latexmk.