LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

texliveonfly

Auto-install missing LaTeX packages

TLDR

Compile with auto-install
$ texliveonfly [document.tex]
copy
Use specific engine
$ texliveonfly --compiler=[pdflatex] [document.tex]
copy
With arguments
$ texliveonfly --arguments="[-shell-escape]" [document.tex]
copy
Dry run
$ texliveonfly --dry-run [document.tex]
copy

SYNOPSIS

texliveonfly [--compiler engine] [--arguments args] [options] file

DESCRIPTION

texliveonfly compiles LaTeX documents while automatically installing any missing packages from the TeX Live repository. When the compiler encounters an undefined package, texliveonfly detects the error, uses tlmgr to install the required package, and retries compilation until all dependencies are satisfied.The tool works with any TeX Live engine including pdflatex, xelatex, and lualatex, selectable via the --compiler flag. Additional compiler arguments can be passed through --arguments. The --dry-run flag shows which packages would be installed without actually performing the installation.

PARAMETERS

--compiler ENGINE

TeX engine to use.
--arguments ARGS
Pass to compiler.
--dry-run
Don't actually install.
--terminal_only
Console output only.
--help
Show help.

INSTALL

sudo pacman -S texlive-binextra
copy
sudo apk add texlive-binextra
copy

CAVEATS

TeX Live required. Network access needed. Admin for global install.

HISTORY

texliveonfly was created to automatically install missing LaTeX packages during compilation.

SEE ALSO

pdflatex(1), tlmgr(1), latexmk(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid