I was wondering if there's anything in the LaTeX world that's similar to npm for JS and pipenv for Python. I'm setting up Continous Integration on some of my projects and it seems like overkill to:
sudo apt-get install texlive-full
I was wondering if there's anything in the LaTeX world that's similar to npm for JS and pipenv for Python. I'm setting up Continous Integration on some of my projects and it seems like overkill to:
sudo apt-get install texlive-full
Tectonic sounds like the closest thing youre searching. It works by downloading the required packages on its own (rather than you provide them, so not exactly like a package manager).
I use a dockerized version of it in my travis build for github (its also lightweight, about ~75MB initial download).
As @moewe already pointed out in comments, see https://tex.stackexchange.com/a/398831/144248 or the github-repo for more detailed instructions how to set it up.
This simple Python script works for me in Fedora Linux: https://gist.github.com/jopereira/a78d06ee2eb72c4a823588a2333bb890
It scans .tex files for \documentclass and \usepackage statements and finds the appropriate TeXlive RPM packages.
tlmgrcan be used to install specific packages. – moewe Nov 17 '18 at 16:24